/* =====================================================================
   Dakla Interior & Roofing Designs — site stylesheet (v3, single file)
   Layout after the reference furniture template, in Dakla's colours:
   teal carries actions, amber the highlights, a warm sand block sits
   behind arch-framed photos (the arch echoes the window in the logo).
   Background details: measuring grid, roof outline, tile-colour chips,
   dimension lines. All motion stops under prefers-reduced-motion.
   Breakpoints: 1080 (menu), 960 (hero), 860 (two-column → one), 600, 420.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --teal: #2884a4;
  --teal-deep: #1f6f8b;
  --teal-ink: #0f4457;
  --teal-night: #0a2c38;
  --teal-wash: #e6f1f5;
  --amber: #ffbd59;
  --amber-deep: #f0a53a;
  --sand: #fbe6c4;
  --ink: #17232b;
  --muted: #53646e;
  --line: #d6e3e9;
  --paper: #f4f8fa;
  --ash: #eaf2f5;
  --hero-bg: #f1f7f9;
  --white: #ffffff;
  --wa: #1fae55;
  --wa-deep: #168a43;
  --bad: #b3261e;
  --confirm: #9a5b00;
  --confirm-bg: #fff4e0;
  --tile-red: #c4452b; --tile-charcoal: #2b2f33; --tile-blue: #6e8fb5; --tile-green: #4f6b3e;
  --tile-brown: #7a4a36; --tile-orange: #d9793a; --tile-grey: #9a978c;

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-sm: .875rem; --fs-base: 1rem; --fs-lg: 1.125rem;
  --fs-h3: 1.125rem; --fs-h2: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --fs-h1: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  --fs-hero: clamp(2.3rem, 1.3rem + 3.4vw, 4.2rem);

  --r-sm: 8px; --r: 16px; --r-arch: 160px;
  --shadow: 0 1px 2px rgb(15 68 87 / .06), 0 10px 30px rgb(15 68 87 / .09);
  --shadow-lg: 0 24px 50px rgb(15 68 87 / .15);
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1180px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-base)/1.6 var(--font-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal-ink); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); font-weight: 500; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.selectable { user-select: all; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 12px; }
.skip:focus { left: 8px; top: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 700 .78rem/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 .7em; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; }
.h-mix { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-hero); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .4em; }
.h-mix strong { font-weight: 700; color: var(--teal-deep); background: linear-gradient(var(--amber), var(--amber)) left 88% / 0% 22% no-repeat; padding: 0 .05em; transition: background-size .9s var(--ease) .25s; }
.h-mix.in strong { background-size: 100% 22%; }
.section .h-mix, .split .h-mix, .catband .h-mix { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }
.h-mix-lg { font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.4rem); }

/* ---------- 3. Buttons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em; border-radius: var(--r-sm); border: 2px solid transparent; font: 600 var(--fs-base)/1.1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: color .2s, border-color .2s, transform .2s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(255 255 255 / .2); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-wa .icon, .btn-wa:hover .icon, .btn-wa-light .icon { transform: none; }
.btn-teal { background: var(--teal-deep); color: var(--white); }
.btn-teal:hover { color: var(--white); background: var(--teal-ink); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { color: var(--ink); background: var(--amber-deep); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--white); }
.btn-outline { background: transparent; border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-outline::before { background: var(--teal-wash); }
.btn-outline:hover { color: var(--teal-ink); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-deep); color: var(--white); }
.btn-wa-light { background: var(--white); color: var(--wa-deep); }
.btn-wa-light:hover { color: var(--wa-deep); }
.btn-sm { min-height: 44px; padding: .55em 1em; font-size: var(--fs-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.sq-btn { width: 48px; height: 48px; border-radius: var(--r-sm); border: 1.5px solid var(--teal-deep); background: transparent; color: var(--teal-deep); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.sq-btn:hover, .sq-btn-fill { background: var(--teal-deep); color: var(--white); }
.sq-btn:hover { transform: translateY(-2px); }
.icon-btn { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.icon-btn:hover { color: var(--bad); border-color: var(--bad); }

/* ---------- 4. Top strip & header ---------- */
.topstrip { background: var(--teal-ink); color: #d5e9f0; font-size: var(--fs-sm); }
.topstrip-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-block: 7px; }
.topstrip p { margin: 0; }
.topstrip a { color: var(--white); text-decoration: none; font-weight: 600; }
.ts-mid { display: inline-flex; align-items: center; gap: 6px; }
.ts-mid .icon { width: 14px; height: 14px; color: var(--amber); }
.ts-mid a { color: var(--amber); }
.topstrip-contact { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.topstrip-contact a { display: inline-flex; align-items: center; gap: 6px; }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 30px rgb(15 68 87 / .1); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { flex-shrink: 0; }
.brand img { height: 58px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 48px; }
.site-nav { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: space-between; margin-left: 24px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 0; }
.nav-list a, .menu-btn { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink); text-decoration: none; cursor: pointer; font: 600 .76rem var(--font-body); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.nav-list > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 8px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"], .menu-btn[data-current] { color: var(--teal-deep); }
.menu-btn::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.has-menu { position: relative; }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); display: none; }
.has-menu.open .submenu { display: block; }
.submenu a { width: 100%; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; }
.submenu a:hover { background: var(--teal-wash); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.hicon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background-color .2s, color .2s, transform .2s; }
.hicon .icon { width: 20px; height: 20px; }
.hicon:hover { background: var(--teal-wash); color: var(--teal-deep); transform: translateY(-2px); }
.hicon-wa { color: var(--wa-deep); }
.header-cta { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: 600 var(--fs-sm) var(--font-body); cursor: pointer; }
@media (max-width: 1240px) and (min-width: 1081px) { .nav-list a, .menu-btn { padding: 0 8px; letter-spacing: .04em; } .nav-list > li > a::after { left: 8px; right: 8px; } }
@media (max-width: 1080px) {
  .topstrip-in { grid-template-columns: 1fr auto; } .ts-mid { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 110px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; margin: 0; }
  .nav-list a, .menu-btn { width: 100%; font-size: .9rem; }
  .nav-list > li > a::after, .menu-btn::after { display: none; }
  .submenu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .header-cta { flex: 1; }
  .brand img { height: 46px; }
}
@media (max-width: 600px) { .topstrip-in > p:first-child { display: none; } .topstrip-in { grid-template-columns: 1fr; } .topstrip-contact { justify-content: center; } }

/* ---------- 5. Hero ---------- */
.hero2 { position: relative; background: var(--hero-bg); overflow: hidden; isolation: isolate; }
.hero2-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgb(40 132 164 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(40 132 164 / .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.roofline { position: absolute; left: 0; right: 0; bottom: 120px; width: 100%; height: 300px; }
.roofline path { fill: none; stroke: var(--teal); stroke-opacity: .22; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.2s var(--ease) .3s forwards; }
.roofline .roofline-2 { stroke-dasharray: 6 8; stroke-dashoffset: 0; opacity: 0; animation: fadeIn 1s 2.6s forwards; }
.chip { position: absolute; width: 16px; height: 16px; border-radius: 4px; opacity: .55; animation: floaty 9s ease-in-out infinite alternate; }
.chip.c1 { background: var(--tile-red); left: 4%; top: 22%; }
.chip.c2 { background: var(--tile-blue); left: 44%; top: 12%; width: 12px; height: 12px; animation-duration: 11s; }
.chip.c3 { background: var(--tile-green); left: 8%; bottom: 34%; width: 10px; height: 10px; animation-duration: 7s; }
.chip.c4 { background: var(--amber); right: 6%; top: 18%; animation-duration: 12s; }
.chip.c5 { background: var(--tile-brown); right: 40%; bottom: 30%; width: 11px; height: 11px; animation-duration: 10s; }
.spark { position: absolute; width: 18px; height: 18px; color: var(--amber); animation: twinkle 3.5s ease-in-out infinite; }
.spark.s1 { left: 36%; top: 30%; } .spark.s2 { right: 9%; bottom: 40%; width: 12px; height: 12px; animation-delay: 1.4s; }

.pendant { position: absolute; top: 0; left: 40%; width: 84px; z-index: 2; transform-origin: 50% 0; animation: sway 5s ease-in-out infinite alternate; pointer-events: none; }
.pendant svg { width: 84px; height: auto; display: block; overflow: visible; }
.pendant line { stroke: var(--ink); stroke-width: 1.5; }
.pendant .shade { fill: var(--teal-deep); }
.pendant .cap { fill: var(--ink); }
.pendant .bulb { fill: var(--amber); }
.pendant .glow { position: absolute; left: 50%; top: 150px; width: 160px; height: 120px; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0, rgb(255 189 89 / .45), transparent 70%); filter: blur(4px); }

.hero2-in { position: relative; padding-block: clamp(28px, 4vw, 56px) 36px; }
.hslides { display: grid; }
.hslide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; transition: opacity .5s, visibility .5s; }
.hslide:not(.is-active) { opacity: 0; visibility: hidden; pointer-events: none; }
.hslide-copy { max-width: 560px; padding-top: 36px; min-width: 0; }
.hslide-copy .h-mix { margin-bottom: .35em; }
.hslide-copy .lead { max-width: 46ch; margin-bottom: 1.4em; }
.hslide.is-active .hslide-copy > * { animation: rise .8s var(--ease) both; }
.hslide.is-active .hslide-copy > :nth-child(2) { animation-delay: .1s; }
.hslide.is-active .hslide-copy > :nth-child(3) { animation-delay: .22s; }
.hslide.is-active .hslide-copy > :nth-child(4) { animation-delay: .34s; }
.hslide.is-active .h-mix strong { animation: highlight .9s var(--ease) .6s both; }
.hslide-media { position: relative; height: clamp(360px, 44vw, 560px); min-width: 0; }
.hslide-block { position: absolute; right: 0; top: 34px; width: 62%; height: 86%; background: var(--sand); border-radius: 220px 0 0 0; }
.hslide-frame { position: absolute; left: 4%; top: 0; width: 70%; height: 92%; border-radius: 260px 260px 24px 24px; overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); box-shadow: var(--shadow-lg); background: var(--ash); }
.hslide-frame img { width: 100%; height: 100%; object-fit: cover; }
.hslide.is-active .hslide-block { animation: blockIn 1s var(--ease) .15s both; }
.hslide.is-active .hslide-frame { animation: arch 1.1s var(--ease-io) both; }
.hslide.is-active .hslide-frame img { animation: kenburns 7s ease-out both; }
.hslide.is-active .dim { animation: fadeIn .8s 1s both; }

.badge-spin { position: absolute; left: 47%; top: clamp(40px, 6vw, 90px); width: 150px; height: 150px; z-index: 3; display: grid; place-items: center; }
.badge-spin::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); }
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-spin text { font: 600 13.5px var(--font-body); letter-spacing: 3.2px; fill: var(--ink); }
.badge-spin img { width: 54px; height: 54px; object-fit: contain; }
.hero2-count { position: absolute; right: max(8px, calc(var(--gutter) - 24px)); top: 34%; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 .8rem var(--font-body); color: var(--muted); }
.hc-line { position: relative; width: 2px; height: 84px; background: var(--line); overflow: hidden; }
.hc-line span { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--teal-deep); }
.hero2.playing .hc-line span { animation: grow var(--slide-ms, 6500ms) linear forwards; }

.hero2-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.hpanel { position: relative; overflow: hidden; display: grid; gap: 18px; background: var(--teal-ink); color: var(--white); border-top-right-radius: 160px; padding: 28px 120px 28px var(--edge); }
.hpanel::after { content: ""; position: absolute; right: 40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 1px dashed rgb(255 255 255 / .14); }
.hmini-wrap { display: grid; }
.hmini { grid-area: 1 / 1; display: flex; gap: 18px; align-items: center; color: var(--white); text-decoration: none; transition: opacity .5s, transform .5s var(--ease); }
.hmini:hover { color: var(--white); }
.hmini:not(.is-active) { opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; }
.hmini img { width: 120px; height: 104px; object-fit: cover; border-radius: 14px; flex: none; background: var(--white); }
.hmini > span { display: grid; gap: 4px; }
.hmini small { color: var(--amber); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.hmini b { font: 600 1.15rem var(--font-display); }
.hmini em { font-style: normal; color: #cfe5ec; font-size: .92rem; }
.mini-btn { justify-self: start; margin-top: 4px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: .82rem; padding: 7px 14px; border-radius: 6px; transition: transform .2s; }
.hmini:hover .mini-btn { transform: translateX(4px); }
.hdots { display: flex; gap: 8px; }
.hdots button { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgb(255 255 255 / .35); cursor: pointer; transition: width .35s var(--ease), background-color .35s; }
.hdots button::after { content: ""; position: absolute; inset: -17px -6px; }
.hdots button[aria-pressed="true"] { width: 30px; background: var(--amber); }
.hstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px var(--edge) 34px 36px; }
.hstats > div { min-width: 0; padding: 0 18px; border-left: 1px solid var(--line); }
.hstats > div:first-child { border-left: 0; padding-left: 0; }
.hs-num { margin: 0 0 6px; font: 600 clamp(1.5rem, 1rem + 1.6vw, 2.3rem)/1.1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hstats p:last-child { margin: 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 960px) {
  .hslide { grid-template-columns: minmax(0, 1fr); }
  .hslide-copy { padding-top: 8px; }
  .hslide-media { height: 380px; }
  .hslide-frame { width: 78%; }
  .badge-spin { left: auto; right: 6px; top: auto; bottom: 150px; width: 112px; height: 112px; }
  .badge-spin text { font-size: 15px; }
  .badge-spin img { width: 40px; height: 40px; }
  .pendant { left: auto; right: 14%; width: 60px; } .pendant svg { width: 60px; }
  .hero2-count { display: none; }
  .hero2-foot { grid-template-columns: minmax(0, 1fr); }
  .hpanel { border-top-right-radius: 80px; padding: 24px var(--gutter); }
  .hstats { padding: 22px var(--gutter) 28px; }
  .hstats > div { padding: 0 10px; }
}
@media (max-width: 600px) { .pendant { display: none; } .hslide-media { height: 320px; } .hmini img { width: 92px; height: 84px; } .hs-num { font-size: 1.3rem; } .hstats p:last-child { font-size: .76rem; } }

/* ---------- 6. Marquee ---------- */
.marquee { background: var(--teal-ink); color: var(--white); overflow: hidden; padding-block: 18px; border-block: 1px solid rgb(255 255 255 / .06); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font: 500 1.35rem var(--font-display); white-space: nowrap; }
.marquee .icon { color: var(--amber); width: 22px; height: 22px; }

/* ---------- 7. Sections & page heads ---------- */
.section { position: relative; isolation: isolate; padding-block: clamp(56px, 7vw, 96px); }
.section-white { background: var(--white); }
.section > .wrap { position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head > div { min-width: 0; max-width: 64ch; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { margin: 0; color: var(--muted); }
.deco-dots-r::before, .deco-dots-l::before { content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; background-image: radial-gradient(rgb(40 132 164 / .22) 1.6px, transparent 1.8px); background-size: 18px 18px; pointer-events: none; }
.deco-dots-r::before { right: 2%; top: 40px; } .deco-dots-l::before { left: 2%; bottom: 60px; }
.deco-grid::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgb(40 132 164 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(40 132 164 / .06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }

.page-head { position: relative; overflow: hidden; isolation: isolate; background: var(--hero-bg); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5vw, 64px); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(40 132 164 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(40 132 164 / .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 20% 30%, #000 10%, transparent 70%); }
.page-head::after { content: ""; position: absolute; z-index: -1; right: 4%; top: 18%; width: 14px; height: 14px; border-radius: 4px; background: var(--amber); opacity: .6; box-shadow: -380px 160px 0 -3px var(--tile-red), -120px 230px 0 -4px var(--tile-blue), -60px -20px 0 -2px var(--tile-green); animation: floaty 10s ease-in-out infinite alternate; }
.page-head-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-head-in > * { min-width: 0; }
.page-head img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-arch) var(--r) var(--r) var(--r); box-shadow: var(--shadow-lg); }
.page-head .lead { margin-bottom: 1.3em; }
.page-head .crumbs, .page-head h1, .page-head .lead, .page-head .btn-row { animation: rise .8s var(--ease) both; }
.page-head h1 { animation-delay: .08s; } .page-head .lead { animation-delay: .16s; } .page-head .btn-row { animation-delay: .24s; }
.page-head-in > img, .page-head-in > .portrait-ph { animation: rise 1s var(--ease) .1s both; }
.crumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
@media (max-width: 860px) { .page-head-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 8. Category rail ---------- */
.rail-arrows { display: flex; gap: 10px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, calc((100% - 5 * 20px) / 6)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 10px 2px 8px; }
.rail::-webkit-scrollbar { display: none; }
.cat2 { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; text-align: center; }
.cat2-pill { display: block; width: 100%; aspect-ratio: .64; padding: 6px; overflow: hidden; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.cat2-pill img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; transition: transform .6s var(--ease); }
.cat2:hover .cat2-pill, .cat2:focus-visible .cat2-pill { border-color: var(--teal); transform: translateY(-8px); box-shadow: 0 18px 30px rgb(15 68 87 / .14); }
.cat2:hover .cat2-pill img { transform: scale(1.08) rotate(-2deg); }
.cat2-name { font-weight: 600; margin-top: 6px; line-height: 1.3; }
.cat2-count { font-size: .8rem; color: var(--muted); }

/* ---------- 9. Collections band ---------- */
.collections { position: relative; overflow: hidden; background: var(--ash); }
.collections::before { content: ""; position: absolute; left: -60px; bottom: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1.5px dashed rgb(40 132 164 / .25); animation: spin 60s linear infinite; }
.collections-in { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.collections-copy { position: relative; z-index: 2; display: grid; gap: 18px; justify-items: start; }
.collections-copy h2 { margin: 0 -30% 0 0; text-shadow: 0 0 18px var(--ash), 0 0 4px var(--ash); }
.collections-copy p { margin: 0; color: var(--muted); max-width: 40ch; }
.collections-media { overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); aspect-ratio: 16 / 10; border-radius: 180px var(--r) var(--r) var(--r); box-shadow: var(--shadow-lg); }
.collections-media img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0px)); will-change: transform; }
.vdots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.vdots span { width: 6px; height: 6px; border-radius: 99px; background: var(--ink); opacity: .35; }
.vdots .on { height: 22px; opacity: 1; background: var(--teal-deep); }
@media (max-width: 860px) { .collections-in { grid-template-columns: minmax(0, 1fr); gap: 28px; } .collections-copy h2 { margin: 0; } .vdots { display: none; } }

/* ---------- 10. Steps strip ---------- */
.steps2 { position: relative; background: var(--white); }
.steps2::before, .steps2::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px); }
.steps2::before { top: 0; } .steps2::after { bottom: 0; transform: scaleY(-1); }
.steps2-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 32px; padding-block: 56px; }
.steps2-title { margin: 0; font: 700 clamp(1.6rem, 1rem + 2vw, 2.4rem)/1.1 var(--font-display); text-transform: uppercase; }
.steps2-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps2-list li { display: grid; justify-items: center; gap: 10px; }
.steps2-list b { font: 500 clamp(2rem, 1.4rem + 2vw, 3rem)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.steps2-list .bar { position: relative; width: 100%; height: 6px; overflow: hidden; border-radius: 3px; background: var(--sand); }
.steps2-list .bar::after { content: ""; position: absolute; inset: 0; background: var(--teal-deep); transform: scaleX(0); transform-origin: left; animation: stepfill 8s var(--ease) infinite; }
.steps2-list li:nth-child(2) .bar::after { animation-delay: 1s; } .steps2-list li:nth-child(3) .bar::after { animation-delay: 2s; } .steps2-list li:nth-child(4) .bar::after { animation-delay: 3s; }
.steps2-list li > span:last-child { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .steps2-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 11. Product cards & tabs ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 30px 22px; }
.card { display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 110px; }
.card:target .card-media { outline: 3px solid var(--amber); outline-offset: 3px; }
.card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r); background: var(--ash); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img { transform: scale(1.07); }
.placeholder { display: grid; place-items: center; height: 100%; background: repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--teal-wash) 12px 24px); color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.placeholder span { background: var(--white); padding: 6px 12px; border-radius: 999px; }
.card-badge { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 70px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 7px 10px; border-radius: 6px; background: var(--teal-deep); color: var(--white); font: 600 .72rem/1 var(--font-body); letter-spacing: .03em; }
.card:nth-child(3n+2) .card-badge { background: var(--ink); }
.card:nth-child(3n) .card-badge { background: var(--amber); color: var(--ink); }
.card-actions { position: absolute; top: 12px; right: 12px; display: grid; gap: 8px; }
.card-actions a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--teal-deep); box-shadow: 0 4px 14px rgb(15 68 87 / .12); transform: translateX(60px); opacity: 0; transition: transform .4s var(--ease), opacity .4s, background-color .2s, color .2s; }
.card-actions a:first-child { color: var(--wa-deep); }
.card-actions a:nth-child(2) { transition-delay: .05s; } .card-actions a:nth-child(3) { transition-delay: .1s; }
.card-actions a:hover { background: var(--teal-deep); color: var(--white); }
.card:hover .card-actions a, .card:focus-within .card-actions a { transform: none; opacity: 1; }
@media (hover: none) { .card-actions a { transform: none; opacity: 1; width: 36px; height: 36px; } .card-actions a:not(:first-child) { display: none; } }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 2px 0; }
.card-cat { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.card-title { margin: 0; font-size: 1.02rem; font-weight: 600; }
.card-desc { margin: 0; flex: 1; font-size: .92rem; color: var(--muted); }
.card-price { margin: 2px 0 6px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.card-price strong { font: 600 1.05rem var(--font-display); font-variant-numeric: tabular-nums; }
.card-price span { font-size: .82rem; color: var(--muted); }
.card-price.ask strong { font: 600 .78rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }
.card-cta { align-self: flex-start; }
.grid-home .card-cta { display: none; }
.grid-home .card.swap { animation: rise .55s var(--ease) both; }
@media (max-width: 600px) {
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .card-title { font-size: .92rem; } .card-desc { display: none; }
  .card-cta { align-self: stretch; padding-inline: .5em; }
}
.tabs { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: -8px 0 26px; }
.tab { position: relative; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--muted); font: 600 .92rem var(--font-body); cursor: pointer; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--teal-deep); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab[aria-pressed="true"] { color: var(--teal-deep); }
.tab[aria-pressed="true"]::after, .tab:hover::after { transform: scaleX(1); }
.center-link { margin: 40px 0 0; text-align: center; }

.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 44px; padding-top: 28px; border-top: 1px dashed var(--line); }
.brands-label { margin-right: 6px; font: 700 .74rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand-chip { padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--teal-ink); font: 600 1.02rem var(--font-display); transition: border-color .2s, transform .2s; }
.brand-chip:hover { border-color: var(--teal); transform: translateY(-2px); }

/* ---------- 12. Catalogue ---------- */
.catband { position: relative; overflow: hidden; isolation: isolate; background: var(--teal-ink); color: #d5e9f0; }
.catband::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .1) 1.5px, transparent 1.7px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.catband-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.catband-pages { position: relative; height: clamp(300px, 34vw, 420px); }
.catband-pages img { position: absolute; top: 50%; left: 50%; width: 48%; max-width: 230px; border-radius: 10px; box-shadow: 0 20px 40px rgb(0 0 0 / .35); transition: transform .6s var(--ease); }
.catband-pages img:nth-child(1) { transform: translate(-95%, -50%) rotate(-10deg); }
.catband-pages img:nth-child(2) { transform: translate(-5%, -50%) rotate(9deg); }
.catband-pages img:nth-child(3) { z-index: 1; transform: translate(-50%, -52%) rotate(-1deg); }
.catband:hover .catband-pages img:nth-child(1) { transform: translate(-110%, -50%) rotate(-14deg); }
.catband:hover .catband-pages img:nth-child(2) { transform: translate(10%, -50%) rotate(13deg); }
.catband:hover .catband-pages img:nth-child(3) { transform: translate(-50%, -56%) rotate(0); }
.catband h2 { color: var(--white); }
.catband .h-mix strong { color: var(--amber); background-image: linear-gradient(rgb(255 255 255 / .18), rgb(255 255 255 / .18)); }
.catband p { max-width: 48ch; }
.catband .eyebrow { color: var(--amber); }
.catband .btn-ghost { border-color: var(--white); color: var(--white); }
.catband .btn-ghost::before { background: var(--white); }
.catband .btn-ghost:hover { color: var(--teal-ink); }
@media (max-width: 860px) { .catband-in { grid-template-columns: minmax(0, 1fr); } .catband-pages { height: 300px; } }
.page-head img.cat-cover { width: auto; max-width: 100%; max-height: 520px; aspect-ratio: auto; margin-inline: auto; border-radius: 12px; transform: rotate(2deg); }
.cat-pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-page.wide { grid-column: span 2; }
.cat-page.wide img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 760px) { .cat-pages { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.cat-page { display: grid; gap: 10px; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; text-align: center; text-decoration: none; }
.cat-page img { width: 100%; aspect-ratio: 1 / 1.414; object-fit: contain; border-radius: 10px; background: var(--white); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.cat-page:hover img { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.tbl-wa { display: inline-flex; align-items: center; gap: 6px; color: var(--wa-deep); font-weight: 600; text-decoration: none; white-space: nowrap; }

.tile-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.tile-gallery figure { margin: 0; display: grid; gap: 8px; text-align: center; }
.tile-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.tile-gallery figure:hover img { transform: rotate(-4deg) scale(1.04); }
.tile-gallery figcaption { font: 700 .74rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- 13. Why, split, diaspora, package ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why > div { min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: transform .35s var(--ease), box-shadow .35s; }
.why > div:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why .icon { width: 56px; height: 56px; padding: 14px; margin-bottom: 14px; border-radius: 50%; background: var(--sand); color: var(--teal-deep); }
.why h3 { margin-bottom: .3em; }
.why p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-arch) var(--r) var(--r) var(--r); }
.split-media { position: relative; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.check-list { list-style: none; display: grid; gap: 10px; margin: 0 0 1.5em; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-wash); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: .55em; width: 6px; height: 9px; border: solid var(--teal-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.diaspora { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 36px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 20px; background: var(--teal-ink); color: #d5e9f0; }
.diaspora::after { content: ""; position: absolute; z-index: -1; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1.5px dashed rgb(255 189 89 / .35); animation: spin 50s linear infinite; }
.diaspora h2 { color: var(--white); margin-bottom: .3em; }
.diaspora p { margin: 0; }
.diaspora > .icon { width: 56px; height: 56px; color: var(--amber); animation: spin 24s linear infinite; }
@media (max-width: 860px) { .diaspora { grid-template-columns: minmax(0, 1fr); } }

.package { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.package > * { min-width: 0; }
.package ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.package li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 860px) { .package { grid-template-columns: minmax(0, 1fr); } .package ol { columns: 1; } }
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.swatches img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
@media (max-width: 600px) { .swatches { grid-template-columns: minmax(0, 1fr); } }

.dim { position: absolute; color: var(--teal-deep); pointer-events: none; }
.dim-v { right: 4%; top: 8%; bottom: 16%; border-left: 1.5px dashed currentColor; }
.dim-v::before, .dim-v::after { content: ""; position: absolute; left: -7px; width: 13px; border-top: 1.5px solid currentColor; }
.dim-v::before { top: 0; } .dim-v::after { bottom: 0; }
.dim-v i { position: absolute; top: 50%; left: 8px; transform: translateY(-50%) rotate(90deg); transform-origin: left center; padding: 2px 6px; background: var(--hero-bg); font: 600 .78rem var(--font-body); font-style: normal; letter-spacing: .06em; white-space: nowrap; }
.dim-h { left: 6%; right: 6%; bottom: -18px; border-top: 1.5px dashed currentColor; }
.dim-h::before, .dim-h::after { content: ""; position: absolute; top: -7px; height: 13px; border-left: 1.5px solid currentColor; }
.dim-h::before { left: 0; } .dim-h::after { right: 0; }
.dim-h i { position: absolute; left: 50%; top: -11px; transform: translateX(-50%); padding: 2px 8px; background: var(--white); font: 600 .78rem var(--font-body); font-style: normal; }

/* ---------- 14. Forms & calculators ---------- */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .field legend { font-size: var(--fs-sm); font-weight: 600; }
.field small { font-size: .8rem; color: var(--muted); }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); font: 400 1rem var(--font-body); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 3px solid rgb(40 132 164 / .2); outline-offset: 0; }
input[aria-invalid="true"] { border-color: var(--bad); }
.err { margin: 0; font-size: .85rem; color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font-size: .92rem; cursor: pointer; }
.chips input:checked + span { background: var(--teal-wash); border-color: var(--teal); color: var(--teal-ink); font-weight: 600; }
.chips input:focus-visible + span { outline: 3px solid var(--amber-deep); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-card { padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-done h2 { color: var(--teal-deep); }
.aside-card { min-width: 0; padding: 24px; border-radius: 18px; background: var(--teal-wash); }
.aside-card h3 { margin-bottom: .4em; }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.calc-in, .calc-out { min-width: 0; padding: clamp(20px, 3.5vw, 32px); }
.calc-out { display: flex; flex-direction: column; gap: 14px; background: var(--teal-ink); color: #d5e9f0; }
.calc-out h3 { color: var(--white); }
.calc-out .note { margin: 0; font-size: var(--fs-sm); color: #a9cddb; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.result-big { margin: 0; font: 700 clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem)/1.1 var(--font-display); color: var(--white); font-variant-numeric: tabular-nums; }
.result-rows { display: grid; gap: 8px; margin: 0; font-variant-numeric: tabular-nums; }
.result-rows div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.result-rows dt { color: #a9cddb; }
.result-rows dd { margin: 0; color: var(--white); font-weight: 600; text-align: right; }
.example-note { margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.win-table-wrap { position: relative; overflow-x: auto; margin: 8px 0 12px; }
.win-table { width: 100%; min-width: 480px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.win-table th { padding: 6px; text-align: left; font-size: .8rem; font-weight: 600; color: var(--muted); }
.win-table td { padding: 4px 6px; vertical-align: middle; }
.win-table input { min-height: 44px; }
.win-table .num { text-align: right; white-space: nowrap; }
@media (max-width: 600px) {
  .win-table-wrap { overflow: visible; }
  .win-table, .win-table tbody { display: block; min-width: 0; }
  .win-table thead { display: none; }
  .win-table tr { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px 10px; align-items: end; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .win-table td { padding: 0; min-width: 0; }
  .win-table td:nth-child(1) { grid-column: 1 / 3; }
  .win-table td:nth-child(6) { grid-column: 3; grid-row: 1; }
  .win-table td:nth-child(3) { grid-column: 2 / 4; }
  .win-table td.num { grid-column: 1 / -1; text-align: left; font-size: .9rem; }
  .win-table td.cc-fab::before { content: "Curtain + sheer: "; color: var(--muted); }
  .win-table td.cc-sub::before { content: "Rail: "; color: var(--muted); }
  .win-table td .sr { position: static; width: auto; height: auto; margin: 0 0 4px; clip: auto; overflow: visible; white-space: normal; display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
}

/* ---------- 15. Tables, FAQ, prose, misc ---------- */
.pg-tools { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.pg-tools .field { flex: 1 1 240px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.price-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: .95rem; }
.price-table th, .price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.price-table th { position: sticky; top: 0; background: var(--paper); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.price-table .num { text-align: right; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr { transition: background-color .2s; }
.price-table tbody tr:hover { background: var(--paper); }
.pg-empty { padding: 16px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; min-height: 44px; padding: 16px 18px; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.3rem/1 var(--font-display); color: var(--teal); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 16px; color: var(--muted); }
.faq details > div p { margin: 0; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.guide-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card div { padding: 18px; }
.guide-card p { margin: 0; font-size: .95rem; color: var(--muted); }
.guide-card:hover h3 { color: var(--teal-deep); }
@media (max-width: 900px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }

.empty-state { max-width: 760px; padding: clamp(24px, 5vw, 48px); border: 1px dashed var(--teal); border-radius: 18px; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-grid > div { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.contact-grid .icon { width: 28px; height: 28px; margin-bottom: 8px; color: var(--teal); }
.contact-grid p { margin: 0 0 6px; }
.contact-big { font: 600 1.35rem var(--font-display); word-break: break-word; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.portrait-ph { display: grid; place-items: center; aspect-ratio: 4 / 5; max-height: 460px; padding: 20px; border-radius: var(--r-arch) var(--r) var(--r) var(--r); background: repeating-linear-gradient(135deg, var(--paper) 0 14px, var(--teal-wash) 14px 28px); color: var(--muted); font-weight: 600; text-align: center; }
.confirm { display: inline-block; padding: 4px 8px; border: 1px dashed var(--confirm); border-radius: 999px; background: var(--confirm-bg); color: var(--confirm); font: 600 .7rem/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; cursor: help; }
.review-note { padding: 10px 14px; border: 1px dashed var(--confirm); border-radius: var(--r-sm); background: var(--confirm-bg); color: var(--confirm); font-size: .9rem; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }

/* ---------- 16. CTA band & footer ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--teal-deep); color: #e1f0f5; }
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .12) 1.5px, transparent 1.7px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.cta-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 40px; padding-block: clamp(36px, 5vw, 52px); }
.cta-in > div:first-child { max-width: 58ch; min-width: 0; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--teal-night); color: #b6d2dc; padding-block: 52px 24px; font-size: .95rem; }
.footer-word { position: absolute; z-index: -1; right: -2%; bottom: -.18em; font: 700 clamp(6rem, 22vw, 20rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .06); letter-spacing: -.02em; pointer-events: none; user-select: none; }
.site-footer a { color: #e1f0f5; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-grid > * { min-width: 0; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.footer-logo { height: 68px; width: auto; margin-bottom: 14px; }
.footer-h { margin-bottom: 12px; font: 700 .78rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.footer-pay { display: flex; align-items: flex-start; gap: 8px; }
.footer-pay .icon { margin-top: 3px; color: var(--amber); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .85rem; }
.footer-legal p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.mobile-bar { display: none; }
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--white); box-shadow: 0 6px 20px rgb(0 0 0 / .2); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-deep); color: var(--white); }
@media (max-width: 767px) {
  .wa-float { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgb(15 68 87 / .1); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; background: var(--teal-wash); color: var(--teal-ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
  .mobile-bar .mb-wa { background: var(--wa); color: var(--white); }
  .mobile-bar .mb-quote { background: var(--amber); color: var(--ink); }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 17. Motion ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes highlight { from { background-size: 0% 22%; } to { background-size: 100% 22%; } }
@keyframes blockIn { from { opacity: 0; transform: translate(60px, 30px); } to { opacity: 1; transform: none; } }
@keyframes arch { from { clip-path: inset(100% 0 0 0 round 260px 260px 24px 24px); } to { clip-path: inset(0 0 0 0 round 260px 260px 24px 24px); } }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes floaty { 0% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(10px, -18px) rotate(25deg); } 100% { transform: translate(-8px, 8px) rotate(-15deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: .3; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { to { height: 100%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes stepfill { 0% { transform: scaleX(0); } 12%, 70% { transform: scaleX(1); } 85%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .roofline path { stroke-dashoffset: 0; }
  .roofline .roofline-2 { opacity: 1; }
  .h-mix strong { background-size: 100% 22%; }
}

