/* ============================================================
   KAIRA AGENCY — HOMEPAGE (rebuild, Oct 2026)
   Same palette, fonts and logo as design system v4.
   Hero stays navy. Everything below the hero is white / off-white.
   All sizes in rem so the big-screen scale layer works from <html>.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0A1830;
  --navy-2:     #0C1D38;
  --navy-deep:  #06111F;
  --white:      #FFFFFF;
  --off-white:  #F4F6F9;

  --text:       #0A1830;
  --body:       rgba(10,24,48,0.68);
  --faint:      rgba(10,24,48,0.64);
  --on-dark:    rgba(255,255,255,0.72);
  --on-dark-dim:rgba(255,255,255,0.5);
  --line:       rgba(10,24,48,0.10);
  --line-2:     rgba(10,24,48,0.20);
  --line-dark:  rgba(255,255,255,0.14);

  --accent:     #3E6FE0;   /* existing brand blue — icons, links, highlights only */
  --accent-soft:#7FA9E8;
  --ok:         #8FD6A6;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 70rem;           /* 1120px */
  --nav-h: 4rem;
  --bar-h: 4.25rem;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10,24,48,0.04), 0 8px 24px rgba(10,24,48,0.06);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
@media (min-width: 1800px) { html { font-size: 112.5%; } }
@media (min-width: 2300px) { html { font-size: 125%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.55;
  padding-top: var(--nav-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 400;
  background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 8px; }

/* ── TYPE ── */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -0.028em; }
h1 { font-size: clamp(2.2rem, 6.4vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.015em; }
.mono, .label {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-variant-ligatures: none;
}
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 12px;
}
.label::before { content: ""; width: 6px; height: 6px; background: var(--accent); }

/* ── BUTTONS (tap targets ≥ 44px) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.2s, border-color 0.2s;
}
.btn .arw { transition: transform 0.28s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }
.btn:active { transform: scale(0.985); }
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10,24,48,0.22); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.32); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(10,24,48,0.035); }
.btn-ghost-dark { background: transparent; color: var(--white); border-color: var(--line-dark); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.btn-block { width: 100%; }

/* ── HEADER ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  background: rgba(10,24,48,0.72);
  -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled { background: rgba(255,255,255,0.94); border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 768px) { .nav-inner { padding: 0 32px; } }
.nav-logo img { height: 26px; width: auto; }
.nav-logo .on-light { display: none; }
.nav.scrolled .nav-logo .on-dark { display: none; }
.nav.scrolled .nav-logo .on-light { display: block; }
.nav-links { display: none; gap: 28px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--on-dark);
  padding: 12px 0; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--body); }
.nav.scrolled .nav-links a:hover { color: var(--navy); }
@media (min-width: 860px) { .nav-links { display: flex; } }
.nav-right { display: flex; align-items: center; gap: 10px; }

.lang {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--on-dark); background: none; border: 0; cursor: pointer; padding: 0 4px;
}
.lang button {
  background: none; border: 0; cursor: pointer; min-width: 36px; min-height: 44px;
  font: inherit; letter-spacing: inherit; color: inherit; opacity: 0.6;
}
.lang button[aria-pressed="true"] { opacity: 1; font-weight: 700; }
.lang .sep { opacity: 0.35; }
.nav.scrolled .lang { color: var(--navy); }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  background: var(--white); color: var(--navy);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); }
.nav.scrolled .nav-cta { background: var(--navy); color: var(--white); }

/* ── HERO (keeps its navy look) ── */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 3.75rem 0 3.5rem;
  background: linear-gradient(180deg, #0B1B34 0%, var(--navy) 60%, var(--navy) 100%);
  color: var(--white);
}
.hero .glow {
  position: absolute; pointer-events: none; width: 900px; height: 560px;
  left: 50%; top: -200px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(90,140,220,0.18), transparent 72%);
}
.hero .grid-net {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(115% 88% at 50% 22%, #000 5%, rgba(0,0,0,0.55) 48%, transparent 82%);
          mask-image: radial-gradient(115% 88% at 50% 22%, #000 5%, rgba(0,0,0,0.55) 48%, transparent 82%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); max-width: 15ch; margin: 0 auto; text-wrap: balance; }
.hero-sub {
  margin: 1.1rem auto 0; max-width: 46ch; color: var(--on-dark);
  font-size: clamp(1rem, 2.2vw, 1.12rem); text-wrap: balance;
}
.hero-btns { margin-top: 1.7rem; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: 1.1rem; color: var(--on-dark-dim); font-size: 0.78rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.03em;
}
.hero-trust i { color: var(--ok); font-style: normal; margin-right: 6px; }
@media (min-width: 768px) { .hero { padding: 5.5rem 0 5rem; } }
@media (max-width: 480px) { .hero-btns .btn { width: 100%; } }

/* ── SECTIONS ── */
.sec { padding: 3.25rem 0; background: var(--white); }
.sec.alt { background: var(--off-white); }
@media (min-width: 768px) { .sec { padding: 5rem 0; } }
.sec-head { max-width: 38rem; margin: 0 auto 1.9rem; text-align: center; }
.sec-head .label { justify-content: center; }
.sec-head p { margin-top: 0.7rem; color: var(--body); font-size: 1rem; text-wrap: balance; }
.sec-foot { margin-top: 1.6rem; text-align: center; }
.sec-foot p { color: var(--body); margin-bottom: 1.1rem; }
.cta-row { display: flex; justify-content: center; margin-top: 1.5rem; }

/* typed left-to-right reveal — clip-path lives on the inner span */
.js .type-reveal > span { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path 0.8s var(--ease); }
.js .type-reveal.in > span { clip-path: inset(0 0 0 0); }
.js .rise { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .type-reveal > span { clip-path: none; transition: none; }
  .js .rise { opacity: 1; transform: none; transition: none; }
}

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: rgba(62,111,224,0.09); color: var(--accent);
}
.ico svg { width: 22px; height: 22px; }

.get-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .get-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .get-grid { grid-template-columns: repeat(4, 1fr); } }
.get-card { padding: 18px; display: flex; gap: 14px; align-items: center; }
.get-card h3 { font-size: 0.98rem; }
@media (min-width: 1000px) { .get-card { flex-direction: column; align-items: flex-start; padding: 22px 20px; gap: 16px; } }

/* ── BOOKING DEMO (same flow/quality as the Sterling + Roofcraft demo sites) ── */
.sim { max-width: 34rem; margin: 0 auto; }
.sys-more { text-align: center; margin-top: 1.4rem; font-weight: 600; text-wrap: balance; }

.bk-card-form {
  position: relative; padding: clamp(20px, 3vw, 34px); background: var(--white);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 2px 4px rgba(10,24,48,0.04), 0 18px 48px rgba(10,24,48,0.10);
}
.bk-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.bk-progress i { position: relative; height: 6px; border-radius: 6px; background: rgba(62,111,224,0.14); overflow: hidden; }
.bk-progress i::after { content: ""; position: absolute; inset: 0; background: var(--accent); border-radius: 6px; transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease); }
.bk-progress i.on::after { transform: scaleX(1); }
.bk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.bk-stepno, .bk-badge { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }
.bk-stepno { color: var(--faint); }
.bk-badge { color: var(--navy); background: rgba(62,111,224,0.12); padding: 5px 10px; border-radius: 100px; }
.bk-step { animation: bk-in 0.38s var(--ease) both; }
@keyframes bk-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bk-step { animation: none; } .bk-progress i::after { transition: none; } }
.bk-step h3 { font-size: 1.3rem; margin-bottom: 16px; outline: none; }
.bk-field .bk-chips { margin-bottom: 2px; }
.bk-step > .bk-btn { margin-top: 6px; }
.bk-field { margin-bottom: 18px; }
.bk-label { display: block; margin-bottom: 9px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.bk-opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--faint); }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chip {
  min-height: 44px; padding: 10px 16px; background: var(--white); color: var(--navy); cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: 100px; font-weight: 600; font-size: 0.9rem;
  transition: border-color 0.16s, transform 0.16s, background 0.16s, color 0.16s, box-shadow 0.16s;
}
.bk-chip:hover { border-color: var(--navy); transform: translateY(-1px); }
.bk-chip[aria-checked="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 6px 16px rgba(10,24,48,0.22); }
.bk-hint { margin-top: 10px; font-size: 0.86rem; color: var(--body); }
.bk-hint b { color: var(--navy); }
.bk-help { font-size: 0.82rem; color: var(--body); margin: -2px 0 10px; }
.bk-input {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--white); color: var(--navy);
  border: 1.5px solid var(--line-2); border-radius: 14px; font: inherit; font-size: 1rem;
  transition: border-color 0.16s, box-shadow 0.16s;
}
textarea.bk-input { min-height: 84px; resize: vertical; }
.bk-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(62,111,224,0.2); }
.bk-input.invalid { border-color: #c0392b; }
.bk-msg { min-height: 1.1em; font-size: 0.8rem; color: #b3261e; margin-top: 6px; }
.bk-msg:empty { display: none; }
.bk-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .bk-row { grid-template-columns: 1fr 1fr; } }
.bk-files { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-add {
  width: 76px; height: 76px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: var(--off-white);
  display: grid; place-items: center; align-content: center; gap: 2px; cursor: pointer; font-size: 0.74rem; font-weight: 600; color: var(--body);
}
.bk-add:hover { border-color: var(--navy); color: var(--navy); }
.bk-thumb { position: relative; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--off-white); border: 1px solid var(--line); display: grid; place-items: center; font-size: 0.65rem; padding: 4px; text-align: center; overflow-wrap: anywhere; }
.bk-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bk-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(10,24,48,0.8); color: var(--white); cursor: pointer; line-height: 1; font-size: 1rem; }
.bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 22px;
  background: var(--navy); color: var(--white); border: 1.5px solid var(--navy); border-radius: 100px; cursor: pointer;
  font-weight: 650; font-size: 0.95rem; transition: transform 0.2s var(--ease), box-shadow 0.2s, opacity 0.2s;
}
.bk-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10,24,48,0.22); }
.bk-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.bk-btn--line { background: transparent; color: var(--navy); border-color: var(--line-2); width: auto; }
.bk-actions { display: flex; gap: 10px; }
.bk-actions .bk-btn:last-child { flex: 1; }
.bk-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); border-top-color: var(--white); animation: bk-rot 0.7s linear infinite; }
.bk-btn.loading .bk-spin { display: inline-block; }
@keyframes bk-rot { to { transform: rotate(360deg); } }
.bk-summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--off-white); border-radius: 12px; padding: 4px 6px 4px 14px; margin-bottom: 18px; font-size: 0.88rem; font-weight: 600; }
.bk-edit, .bk-link { background: none; border: 0; cursor: pointer; min-height: 44px; padding: 0 10px; color: var(--accent); font-weight: 650; font-size: 0.86rem; }
.bk-reassure { margin-top: 12px; font-size: 0.78rem; color: var(--faint); text-align: center; }
.bk-success { text-align: center; }
.bk-tick { width: 60px; height: 60px; margin: 0 auto 12px; display: block; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bk-tick circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: bk-draw 0.6s var(--ease) forwards; }
.bk-tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: bk-draw 0.4s 0.35s var(--ease) forwards; }
@keyframes bk-draw { to { stroke-dashoffset: 0; } }
.bk-success h3 { font-size: 1.5rem; outline: none; margin-bottom: 6px; }
.bk-ref { color: var(--body); font-size: 0.9rem; }
.bk-recap { text-align: left; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bk-recap div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.bk-recap div:first-child { border-top: 0; }
.bk-recap dt { color: var(--body); }
.bk-recap dd { font-weight: 650; text-align: right; }
.bk-call { font-weight: 600; }
.bk-demo-note { color: var(--faint); font-size: 0.8rem; margin-top: 4px; }

/* ── DASHBOARD VIDEO ── */
.dash-bullets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0 0 1.5rem; }
.dash-bullets li {
  font-size: 0.86rem; font-weight: 600; padding: 8px 14px; border-radius: 100px;
  background: var(--off-white); border: 1px solid var(--line);
}
.dash-bullets li::before { content: "✓"; color: var(--accent); margin-right: 7px; }
.device {
  max-width: 62rem; margin: 0 auto; border-radius: 14px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-2);
  box-shadow: 0 2px 4px rgba(10,24,48,0.05), 0 24px 60px rgba(10,24,48,0.14);
}
.device-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: var(--off-white); border-bottom: 1px solid var(--line);
}
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.device-bar span {
  margin: 0 auto; font-size: 0.72rem; color: var(--faint);
  font-family: 'JetBrains Mono', ui-monospace, monospace; padding-right: 36px;
}
.vid { position: relative; background: var(--off-white); aspect-ratio: 1280 / 722; }
.vid video { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.vid-ctl {
  position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10,24,48,0.82); color: var(--white); border: 0; cursor: pointer;
  display: grid; place-items: center; transition: transform 0.2s var(--ease);
}
.vid-ctl:hover { transform: scale(1.06); }
.vid-ctl svg { width: 18px; height: 18px; }
.vid-ctl .i-play { display: none; }
.vid.paused .vid-ctl .i-play { display: block; }
.vid.paused .vid-ctl .i-pause { display: none; }
.vid-play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; display: none;
  place-items: center; align-content: center; gap: 12px; color: var(--white);
  background: linear-gradient(180deg, rgba(10,24,48,0.28), rgba(10,24,48,0.55));
}
.vid.paused .vid-play { display: grid; }
.vid-play .disc { width: 76px; height: 76px; border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: transform 0.25s var(--ease); }
.vid-play:hover .disc { transform: scale(1.07); }
.vid-play .disc svg { width: 30px; height: 30px; margin-left: 3px; }
.vid-play .cap { font-weight: 650; font-size: 0.95rem; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.vid.paused .vid-ctl { display: none; }
.vid-err { display: none; position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 10px; background: var(--white); font-size: 0.85rem; border: 1px solid var(--line); }
.vid.failed .vid-err { display: block; }

/* ── WHY IT MATTERS ── */
.why-grid { display: grid; gap: 14px; grid-template-columns: 1fr; max-width: 52rem; margin: 0 auto; }
@media (min-width: 720px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-card { padding: 1.4rem 1.4rem 1.5rem; }
.why-card .ico { margin-bottom: 14px; }
.why-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.why-card p { color: var(--body); }
.why-line { text-align: center; margin-top: 1.4rem; font-weight: 600; text-wrap: balance; }

/* ── WORK ── */
.work-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .work-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.work-card { overflow: hidden; display: flex; flex-direction: column; }
.work-shot { position: relative; background: var(--off-white); aspect-ratio: 1000 / 560; overflow: hidden; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease); }
.work-card:hover .work-shot img { transform: scale(1.025); }
.work-body { padding: 1.1rem 1.2rem 1.25rem; display: grid; gap: 4px; }
.work-body h3 { font-size: 1.15rem; }
.work-body p { color: var(--body); font-size: 0.92rem; }
.work-open { margin-top: 8px; font-weight: 600; font-size: 0.9rem; color: var(--accent); display: inline-flex; min-height: 44px; align-items: center; }
.work-note { font-size: 0.76rem; color: var(--faint); margin-top: 4px; }
.more-h { text-align: center; margin: 2.2rem 0 1rem; font-size: 1rem; color: var(--body); font-weight: 600; letter-spacing: 0; }
.more-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
.more-card { display: flex; align-items: center; gap: 12px; padding: 10px; min-height: 64px; transition: border-color 0.2s, transform 0.25s var(--ease); }
.more-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.more-card img { width: 84px; height: 52px; object-fit: cover; object-position: top; border-radius: 8px; flex: none; background: var(--off-white); }
.more-card b { display: block; font-size: 0.92rem; }
.more-card span { font-size: 0.78rem; color: var(--faint); }
.more-card .go { margin-left: auto; color: var(--accent); padding-right: 6px; }

/* ── PACKAGES ── */
.pkg-grid { display: grid; gap: 14px; grid-template-columns: 1fr; max-width: 52rem; margin: 0 auto; }
@media (min-width: 720px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
.pkg { padding: 1.5rem; display: flex; flex-direction: column; }
.pkg.feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.pkg-tag { font-size: 0.74rem; font-weight: 600; color: var(--faint); letter-spacing: 0.04em; margin-bottom: 4px; }
.pkg h3 { font-size: 1.2rem; }
.pkg-price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.035em; margin: 6px 0 0; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pkg-price.talk { font-size: 1.7rem; margin-top: 12px; }
.pkg-sub { color: var(--body); font-size: 0.86rem; margin-top: 2px; }
.pkg ul { margin: 1.1rem 0 1.3rem; display: grid; gap: 9px; }
.pkg li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.pkg li::before { content: ""; width: 16px; height: 16px; flex: none; margin-top: 3px; border-radius: 50%;
  background: rgba(62,111,224,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233E6FE0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.5 2.2 2.2L11.5 5.8'/%3E%3C/svg%3E") center/100% no-repeat; }
.pkg .btn { margin-top: auto; }
.pkg-note { color: var(--body); font-size: 0.86rem; margin: -0.4rem 0 1.2rem; }

/* ── FAQ ── */
.faq { max-width: 44rem; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 14px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex: none; margin-right: 4px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 4px 18px; color: var(--body); }

/* ── FINAL CTA (brand colour band) ── */
.final { background: var(--navy); color: var(--white); text-align: center; padding: 3.5rem 0; position: relative; overflow: hidden; }
.final h2 { color: var(--white); max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.final p { color: var(--on-dark); margin-top: 0.7rem; }
.final .cta-row { margin-top: 1.5rem; }
@media (min-width: 768px) { .final { padding: 5rem 0; } }

/* ── FOOTER ── */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 3.25rem 0 1.4rem; color: var(--body); font-size: 0.92rem; }
.foot-top { display: grid; gap: 2.2rem; grid-template-columns: 1fr; padding-bottom: 2.2rem; }
@media (min-width: 720px) { .foot-top { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; } }
.foot-logo img { height: 30px; width: auto; }
.foot-brand p { margin: 0.9rem 0 1.1rem; max-width: 22rem; color: var(--body); }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--navy);
  display: grid; place-items: center; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.foot-social a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.foot-social svg { width: 20px; height: 20px; }
.foot-col h2 { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 0.6rem; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.foot-col a { display: flex; align-items: center; min-height: 40px; color: var(--navy); font-weight: 500; transition: color 0.2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--faint); }
.foot .lang { color: var(--navy); }

/* ── STICKY MOBILE BAR ── */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(0); transition: transform 0.3s var(--ease);
}
.bar .btn { width: 100%; }
body.chat-open .bar { transform: translateY(110%); }
@media (min-width: 768px) { .bar { display: none; } }

/* ── CHAT ── */
.chat-fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 190;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(10,24,48,0.3); transition: transform 0.25s var(--ease);
}
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 24px; height: 24px; }
body.chat-open .chat-fab { opacity: 0; pointer-events: none; }
@media (min-width: 768px) { .chat-fab { bottom: 24px; right: 24px; } }

.chat {
  position: fixed; right: 12px; left: 12px; bottom: 12px; z-index: 210;
  max-height: min(34rem, calc(100dvh - 24px)); height: 34rem;
  display: none; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10,24,48,0.28);
}
.chat.open { display: flex; }
@media (min-width: 560px) { .chat { left: auto; width: 24rem; right: 24px; bottom: 24px; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--navy); color: var(--white); }
.chat-head h2 { font-size: 1rem; color: var(--white); }
.chat-x { width: 44px; height: 44px; margin: -8px -10px -8px 0; border: 0; background: none; color: var(--white); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--off-white); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 0.92rem; line-height: 1.45; white-space: pre-wrap; }
.msg.bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  min-height: 44px; padding: 0 14px; border-radius: 100px; cursor: pointer; font-size: 0.85rem; font-weight: 550;
  background: var(--white); border: 1px solid var(--line-2); transition: border-color 0.2s;
}
.chip:hover { border-color: var(--navy); }
.chat-book { padding: 0 12px 10px; background: var(--off-white); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 1rem; }
.chat-form button { min-height: 46px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 600; cursor: pointer; }
.chat-form button:disabled { opacity: 0.5; cursor: default; }


/* ── header: Dashboard link on small screens ── */
.nav-dash { display: none; font-size: 0.85rem; font-weight: 600; color: var(--on-dark); min-height: 44px; align-items: center; padding: 0 4px; }
.nav.scrolled .nav-dash { color: var(--body); }
@media (min-width: 440px) and (max-width: 859px) { .nav-dash { display: inline-flex; } }
@media (max-width: 380px) { .nav-right { gap: 4px; } .nav-cta { padding: 0 12px; } .lang button { min-width: 30px; } }

/* ── DASHBOARD live iframe ── */
.dash-live[hidden], #dashMobile[hidden] { display: none; }
.dash-live { max-width: 70rem; }
.device-bar .addr {
  flex: 1; max-width: 22rem; margin: 0 auto; padding: 4px 12px; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 100px;
}
.device-bar .full { font-size: 0.74rem; font-weight: 600; color: var(--accent); white-space: nowrap; min-height: 28px; display: inline-flex; align-items: center; }
.dash-live iframe { display: block; width: 100%; height: clamp(34rem, 78vh, 46rem); border: 0; background: var(--white); }
#dashMobile .cta-row { margin-top: 1rem; }
.cta-row + .cta-row { margin-top: 0.9rem; }

/* ── big-screen scale: slightly wider content on large desktops ── */
@media (min-width: 1800px) { :root { --maxw: 78rem; } }

/* ── mobile: sticky bar + chat bubble above it ── */
@media (max-width: 767px) {
  body { padding-bottom: var(--bar-h); }
  .chat-fab { bottom: calc(var(--bar-h) + 12px + env(safe-area-inset-bottom)); }
  .btn-final { width: 100%; }
  .final .cta-row { padding: 0 4px; }
}
.final .cta-row { gap: 12px; flex-wrap: wrap; }

/* ── REAL BOOKING (#book) ── */
.book-root { max-width: 40rem; margin: 0 auto; }
.bkg .bk-label { margin-top: 4px; }
.bkg-tz { font-size: 0.78rem; color: var(--faint); margin-bottom: 14px; }
.bkg-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 10px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.bkg-days .bk-chip { flex: none; }
.bkg-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
@media (min-width: 560px) { .bkg-times { grid-template-columns: repeat(4, 1fr); } }
.bkg-times .bk-chip { min-height: 48px; padding: 8px; text-align: center; font-variant-numeric: tabular-nums; }
.bkg-form { border-top: 1px solid var(--line); padding-top: 16px; animation: bk-in 0.38s var(--ease) both; }
.bkg-sum { font-size: 1.05rem; margin-bottom: 14px; }
.bkg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bkg-skel .sk { display: block; height: 48px; border-radius: 100px; background: linear-gradient(90deg, var(--off-white), #e9edf3, var(--off-white)); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
.bkg-skel .bkg-days .sk { width: 96px; flex: none; }
.bkg-skel .bkg-times .sk { border-radius: 14px; }
@keyframes sk { to { background-position: -200% 0; } }
.bkg-error, .bkg-warn { padding: 12px 14px; border-radius: 12px; background: #fdf1f0; color: #8a1f17; font-size: 0.9rem; margin-bottom: 14px; }
.bkg-error .bk-btn { margin-top: 10px; }
.bkg-fb { display: inline-flex; min-height: 44px; align-items: center; margin-top: 6px; color: var(--accent); font-weight: 600; text-decoration: underline; }
.bkg-when { font-size: 1.1rem; font-weight: 650; margin: 4px 0 2px; text-transform: capitalize; }
.bkg-acts { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 560px) { .bkg-acts { grid-template-columns: 1fr 1fr; } }
a.bk-btn { text-decoration: none; }
.bk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
select.bk-input { appearance: auto; }
.bkg .empty { color: var(--body); padding: 6px 2px 14px; }
body.at-book .bar { transform: translateY(110%); }
body.at-book .chat-fab { bottom: 16px; }

/* demo result: what the customer and the owner receive */
.bk-msgs { display: grid; gap: 10px; text-align: left; margin: 16px 0 6px; }
.bk-msg-card { background: var(--off-white); border-radius: 14px; padding: 12px 14px; }
.bk-msg-h { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.bk-bubble { background: var(--navy); color: var(--white); border-radius: 14px 14px 14px 4px; padding: 10px 13px; font-size: 0.92rem; display: inline-block; max-width: 92%; }
.bk-notif { font-size: 0.92rem; font-weight: 600; }
.bk-step > .bk-btn { margin-top: 10px; }

.bkg-calm { text-align: center; padding: 6px 0 4px; }
.bkg-calm h3 { font-size: 1.2rem; margin-bottom: 6px; }
.bkg-calm p { color: var(--body); margin-bottom: 16px; }
.bkg-calm .bk-btn { width: auto; display: inline-flex; padding: 0 28px; }
.bkg-warn a { font-weight: 650; text-decoration: underline; }

/* chat "thinking" dots */
.msg.typing { padding: 12px 14px; }
.dots { display: inline-flex; gap: 5px; align-items: center; height: 14px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: dot 1.1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; opacity: 0.6; } }

/* ── What you get: expandable cards ── */
.get-grid { align-items: start; }
.get-item { overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.get-item:hover { border-color: var(--line-2); }
.get-item[open] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.get-item summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 18px; min-height: 76px; }
.get-item summary::-webkit-details-marker { display: none; }
@media (min-width: 1000px) { .get-item summary { flex-direction: column; align-items: flex-start; padding: 22px 20px; gap: 16px; } }
.gi-t h3 { font-size: 0.98rem; }
.gi-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.8rem; font-weight: 600; color: var(--accent); }
.gi-hint::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s var(--ease); }
.get-item[open] .gi-hint::after { transform: rotate(-135deg); }
.h-less, .get-item[open] .h-more { display: none; }
.get-item[open] .h-less { display: inline; }
.gi-body { padding: 0 18px 18px; display: grid; gap: 12px; animation: gi-in 0.3s var(--ease) both; }
@media (min-width: 1000px) { .gi-body { padding: 0 20px 20px; } }
@keyframes gi-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.gi-body div { border-top: 1px solid var(--line); padding-top: 10px; }
.gi-body dt { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.gi-body dd { font-size: 0.9rem; color: var(--text); line-height: 1.5; }
.gi-body div:last-child dd { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .gi-body { animation: none; } }

/* work: three featured cards */
@media (min-width: 960px) { .work-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* embedded Google appointment schedule (fallback inside the booking card) */
.bkg-calm--embed { padding: 0; }
.bkg-embed { display: block; width: 100%; height: 720px; border: 0; border-radius: 12px; background: #fff; }
.bkg-embed-note { text-align: center; margin: 10px 0 0; font-size: .875rem; }
.bkg-embed-note a { color: var(--body); text-decoration: underline; }
@media (max-width: 600px) { .bkg-embed { height: 780px; } }
