/* Public website. Shares the admin's tokens (colours, font, radii, pill
   buttons) from app.css so the site and the admin panel look like one product. */

body.site { background: #fff; font-size: 16px; line-height: 1.65; color: var(--body); }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
.site a { color: inherit; }
.site a:hover { text-decoration: none; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.site svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* buttons: reuse .btn / .btn.primary from app.css, add sizes */
.site .btn.lg { width: auto; min-height: 50px; padding: 0 28px; font-size: 15px; }
.site .btn.block { width: 100%; }
.btn.primary { color: #fff; }

/* ------------------------------------------------------------ header -- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand img { height: 42px; width: auto; display: block; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a:not(.btn) { padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--body); }
.menu a:not(.btn):hover { background: var(--rail); color: var(--ink); }
.menu a.on:not(.btn) { color: var(--brand-primary); background: color-mix(in srgb, var(--brand-primary) 8%, #fff); }
.menu .login { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* -------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--brand-primary); box-shadow: var(--shadow); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-accent); }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin: 18px 0 16px; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--brand-primary); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 10px; z-index: -1;
  background: color-mix(in srgb, var(--brand-accent) 45%, transparent); border-radius: 6px; }
.lead { font-size: 18px; max-width: 540px; color: var(--body); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; stroke-width: 3; }
.hero-art { position: relative; padding: 0 0 56px 40px; }
.art-main { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center; border-radius: 28px; box-shadow: var(--shadow-lg); display: block; }
.art-sub { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 3 / 3.4; object-fit: cover; object-position: center; border-radius: 20px;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.float { position: absolute; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1.25; }
.float b { color: var(--brand-primary); font-size: 16px; }
.float span { font-size: 12.5px; color: var(--muted); }
.float.f1 { top: 22px; left: 0; }
.float.f2 { right: -8px; bottom: 90px; }

/* ---------------------------------------------------------- sections -- */
.section { padding: 84px 0; background: #fff; }
.section.alt { background: #FAFAFB; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-accent);
  filter: brightness(.78); }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 8px 0 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 52px; }
.split.rev .split-img { order: 2; }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 26px; box-shadow: var(--shadow-lg); display: block; }
.split-copy p { font-size: 17px; margin-bottom: 22px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card3 { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease; }
.card3:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card3 h3 { font-size: 17px; margin: 14px 0 6px; }
.card3 p { font-size: 14.5px; margin: 0; color: var(--body); }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-primary); }
.ico svg { width: 22px; height: 22px; }

.steps { margin-top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 30px; }
.section:not(.alt) .steps { background: #FAFAFB; border-color: var(--line); }
.steps h3 { font-size: 18px; margin-bottom: 16px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.steps li b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-accent); color: var(--ink);
  display: grid; place-items: center; font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); margin: 18px 0 0; }

/* ----------------------------------------------------------- enquiry -- */
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.contact svg { flex: none; color: var(--brand-primary); margin-top: 2px; }
.enq-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.f label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.f .opt { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; transition: border-color .12s, box-shadow .12s; }
.f textarea { resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 14%, transparent); }
.f.bad input, .f.bad textarea { border-color: var(--bad); }
.err { display: block; margin-top: 5px; font-size: 12.5px; color: var(--bad); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.note { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.note.success { background: var(--ok-bg); color: #0b6b49; }
.note.error { background: var(--bad-bg); color: var(--bad); }

/* ------------------------------------------------------------ footer -- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 52px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 36px; }
.foot-brand img { height: 46px; width: auto; display: block; margin-bottom: 12px; }
.foot-brand p { max-width: 320px; font-size: 14.5px; }
.site-footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.site-footer .foot-grid a { display: block; padding: 4px 0; font-size: 14.5px; font-weight: 500; }
.site-footer .foot-grid a:hover { color: var(--brand-primary); }
.legal { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------ mobile -- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps ol { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .wrap { padding: 0 18px; }
  .burger { display: flex; }
  .bar { min-height: 60px; }
  .brand img { height: 36px; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 18px 18px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); display: none; }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 13px 14px; border-radius: 12px; }
  .menu .login { margin: 8px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 48px; }
  .hero-art { padding: 0 0 44px 0; max-width: 520px; }
  .float.f1 { left: 10px; top: 10px; }
  .float.f2 { right: 8px; bottom: 70px; }
  .section { padding: 56px 0; }
  .split, .enquiry { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .split-img { order: 0; }
  .split { margin-bottom: 36px; }
  .enq-form { padding: 20px; }
}
@media (max-width: 520px) {
  .cards, .steps ol { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 100%; }
  .steps { padding: 22px 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .lead { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card3 { transition: none; } }
