/* Local Web Desk — Cosmic-clean professional (not Gothic Onyx) */
:root {
  /* Theme tokens (Demo Admin color wheels) */
  --brand: #0369a1;
  --accent: #14b8a6;
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --cta: #0369a1;
  /* Legacy aliases */
  --ink: var(--text);
  --line: #e2e8f0;
  --paper: #ffffff;
  --wash: var(--bg);
  --sky: var(--brand);
  --sky-deep: var(--cta);
  --mint: var(--accent);
  --focus: var(--brand);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--wash);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--sky-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 700; color: var(--ink); text-decoration: none;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(145deg, var(--sky), var(--mint));
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}
.nav-links {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--muted); font-weight: 560; font-size: 0.95rem; text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sky-deep); }
.nav-cta {
  background: var(--sky-deep) !important; color: #fff !important;
  padding: 0.45rem 0.9rem; border-radius: 999px; text-decoration: none !important;
}
.nav-cta:hover { filter: brightness(1.08); }
.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(14, 165, 233, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(20, 184, 166, 0.14), transparent 50%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; } }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky-deep);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15;
  margin: 0 0 0.85rem; letter-spacing: -0.02em;
}
.hero-lead { color: var(--muted); font-size: 1.08rem; margin: 0 0 1.5rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.15rem; border-radius: 999px; font-weight: 650;
  border: 1px solid transparent; cursor: pointer; font-size: 0.95rem;
  text-decoration: none !important;
}
.btn-primary { background: var(--sky-deep); color: #fff; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky-deep); }
.hero-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); padding: 1.35rem; box-shadow: var(--shadow);
}
.hero-card h2 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.meta-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.meta-list li { color: var(--muted); font-size: 0.95rem; }
.meta-list strong {
  display: block; color: var(--ink); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.section { padding: 3rem 0; }
.section h2 {
  margin: 0 0 0.5rem; font-size: clamp(1.45rem, 2.5vw, 1.85rem); letter-spacing: -0.015em;
}
.section-lead { color: var(--muted); margin: 0 0 1.75rem; max-width: 55ch; }
.cards {
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(14, 165, 233, 0.12); color: var(--sky-deep);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 0.85rem;
}
.about-split { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .about-split { grid-template-columns: 1fr 1fr; align-items: start; } }
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
}
.contact-form label {
  display: block; font-size: 0.85rem; font-weight: 600; margin: 0.75rem 0 0.35rem;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.65rem 0.75rem; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; background: var(--wash);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(2, 132, 199, 0.35); border-color: var(--focus);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
.site-footer {
  border-top: 1px solid var(--line); background: var(--paper);
  padding: 1.75rem 0 2.5rem; color: var(--muted); font-size: 0.9rem;
}
.footer-row {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start;
}
.admin-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  background: var(--ink); color: #fff; border: none; border-radius: 999px;
  padding: 0.7rem 1.1rem; font-weight: 700; font-size: 0.85rem; cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}
.admin-fab:hover { background: #1e293b; }
.admin-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); z-index: 60;
  display: none; align-items: stretch; justify-content: flex-end;
}
.admin-overlay.open { display: flex; }
.admin-panel {
  width: min(100%, 400px); background: var(--paper); height: 100%; overflow: auto;
  padding: 1.25rem 1.25rem 2rem; box-shadow: -8px 0 30px rgba(15, 23, 42, 0.15);
}
.admin-panel h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.admin-banner {
  background: #ecfeff; border: 1px solid #a5f3fc; color: #155e75; border-radius: 10px;
  padding: 0.75rem 0.85rem; font-size: 0.82rem; margin: 0.75rem 0 1rem; line-height: 1.45;
}
.admin-panel label {
  display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--muted); margin: 0.85rem 0 0.3rem;
}
.admin-panel input, .admin-panel textarea {
  width: 100%; padding: 0.55rem 0.65rem; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; font-size: 0.92rem;
}
.admin-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.admin-actions .btn { font-size: 0.85rem; padding: 0.55rem 0.9rem; }
.admin-close {
  float: right; background: transparent; border: none; font-size: 1.4rem;
  line-height: 1; cursor: pointer; color: var(--muted);
}
.services-editor .svc-row {
  border: 1px solid var(--line); border-radius: 10px; padding: 0.65rem;
  margin-bottom: 0.5rem; background: var(--wash);
}
.services-editor .svc-row input { margin-bottom: 0.35rem; }
.demo-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; background: #fef3c7; color: #92400e;
  padding: 0.2rem 0.5rem; border-radius: 6px; margin-left: 0.4rem; vertical-align: middle;
}

/* Demo Admin — color wheels */
.admin-colors {
  margin: 1.1rem 0 0.5rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--wash);
}
.admin-colors legend {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  padding: 0 0.25rem;
}
.colors-hint {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.color-row {
  display: grid;
  grid-template-columns: 5.5rem 2.4rem 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.45rem;
}
.color-row:last-child { margin-bottom: 0; }
.color-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.color-wheel {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.color-wheel::-webkit-color-swatch-wrapper { padding: 3px; }
.color-wheel::-webkit-color-swatch { border: none; border-radius: 5px; }
.color-hex {
  width: 100%;
  padding: 0.45rem 0.55rem !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
}

/* Admin P0 — contrast warn, rich text, import */
.admin-contrast-warn.is-warn,
.admin-banner.admin-contrast-warn.is-warn {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}
.admin-import {
  margin-top: 1rem;
  padding: 0.85rem 0.9rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--wash);
}
.admin-import label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0.65rem 0 0.3rem;
}
.admin-import label:first-child { margin-top: 0; }
.admin-import input[type="file"] {
  width: 100%;
  font-size: 0.85rem;
}
.rich-field { margin: 0; }
.rich-hint {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 0.72rem;
}
.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.25rem 0 0.4rem;
}
.rich-toolbar .rich-btn {
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
}
.admin-panel select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
  background: var(--paper);
}

/* P0–P15 kit hooks */
html.has-callbar { scroll-padding-bottom: 4.5rem; }
html.has-callbar body { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); }
.lwd-callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: var(--cta, var(--sky-deep, #0369a1));
  box-shadow: 0 -4px 20px rgba(15,23,42,.18);
}
@media (max-width: 767px) {
  .lwd-callbar { display: block; }
}
.lwd-callbar-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; width: 100%;
  color: #fff !important; text-decoration: none !important;
  font-weight: 800; font-size: 1.05rem;
  border-radius: 10px;
}
.lwd-emergency {
  background: #7f1d1d; color: #fff; text-align: center;
  font-size: 0.88rem; font-weight: 700;
  padding: 0.45rem 0.75rem;
}
.lwd-license {
  margin: 0.75rem 0 0; font-size: 0.82rem; color: var(--muted);
  font-weight: 600;
}
.service-area-pill {
  display: inline-block; margin: 0.25rem 0.35rem 0.25rem 0;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  background: var(--wash); border: 1px solid var(--line);
  font-size: 0.82rem; font-weight: 600;
}
.privacy-link {
  display: inline-block; margin-top: 0.5rem;
  font-size: 0.8rem; color: var(--muted);
}
.hero-copy, .hero-card, .content-well .hero-copy {
  /* Readable text on imagery — solid/frosted panel */
  background: color-mix(in srgb, var(--bg, #f8fafc) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
img[data-bind-src="heroImage"], .hero img { max-width: 100%; height: auto; }

.nav-phone {
  font-weight: 700; color: var(--brand, var(--sky)) !important;
  text-decoration: none !important; white-space: nowrap;
}
@media (max-width: 640px) {
  .nav-phone { display: none; } /* sticky call bar covers mobile */
}


/* TRUE1-8 feel — 88-studios · T10 */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Source+Sans+3:wght@400;600;700&display=swap');
:root {
  --brand:#2a1830; --accent:#e8a0bf; --bg:#faf5f8; --text:#1c1218; --muted:#6b5560; --cta:#9d174d;
  --paper:#fff; --line:color-mix(in srgb, var(--text) 12%, transparent);
}
body { font-family: 'Source Sans 3', system-ui, sans-serif; background: var(--bg); color: var(--text); }
h1,h2,h3,.brand { font-family: Syne, system-ui, sans-serif; }
.proof-strip { background: color-mix(in srgb, var(--bg) 70%, #fff); border-block: 1px solid var(--line); padding: .85rem 0; }
.proof-row { display:flex; flex-wrap:wrap; gap:.55rem .9rem; align-items:center; justify-content:center; }
.proof-item { font-size:.82rem; color:var(--muted); padding:.35rem .75rem; background:#fff; border:1px solid var(--line); border-radius:999px; font-weight:650; }
.area-strip { font-size:.9rem; color:var(--muted); padding:1rem 0 0; }
.area-strip strong { color:var(--text); }
.vpm-watermark { opacity:.85; }
.site-footer { background: var(--brand); color:#fff; }
.site-footer a { color:#fff; }

body.tmpl-T10 .tmpl-bleed-hero {
  position: relative; min-height: 88vh;
  background: linear-gradient(180deg, rgba(20,10,24,.35), rgba(20,10,24,.78)), url("../assets/hero.jpg") center/cover no-repeat;
  color: #fff; display: flex; flex-direction: column;
}
body.tmpl-T10 .tmpl-abs-nav { position: absolute; inset: 0 0 auto 0; background: transparent; z-index: 2; }
body.tmpl-T10 .tmpl-abs-nav .brand, body.tmpl-T10 .tmpl-abs-nav a { color: #fff; }
body.tmpl-T10 .tmpl-frost-band {
  margin-top: auto; padding: 2.5rem 0 2.75rem;
  background: linear-gradient(180deg, transparent, rgba(18,10,22,.82));
  backdrop-filter: blur(6px);
}
body.tmpl-T10 .tmpl-frost-band .lead { color: rgba(255,255,255,.9) !important; }
body.tmpl-T10 .tmpl-frost-band .eyebrow { color: var(--accent); }
