:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F7F9FC;
  --ink:       #0B1220;
  --muted:     #49566B;
  --faint:     #8A95A8;
  --line:      #E8ECF2;
  --blue:      #2456F0;
  --blue-dark: #1D44CC;
  --blue-soft: #EFF4FF;
  --navy-1:    #16275B;
  --navy-2:    #2450D8;
  --mint:      #1FA876;
  --mint-soft: #E8F8F1;
  --radius: 14px;
  --z-nav: 50;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 600; color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: rgba(36, 86, 240, 0.16); }

/* structured container with hairline rails, like the reference */
.frame { max-width: 1200px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.pad { padding: 0 56px; }
@media (max-width: 920px) { .pad { padding: 0 24px; } }
section { border-top: 1px solid var(--line); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker svg { flex: none; }

/* two-column section header like the reference */
.sec-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  padding-top: 84px;
  padding-bottom: 56px;
}
@media (max-width: 920px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 18px; }
.sec-head h2 .accent { color: var(--blue); }
.sec-head .intro { color: var(--muted); font-size: 1.02rem; max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.btn svg { flex: none; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.12), 0 10px 28px rgba(36, 86, 240, 0.22);
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 1px 2px rgba(11,18,32,0.12), 0 12px 32px rgba(36, 86, 240, 0.3); }
.btn-primary .arr {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: #C7D2E4; background: var(--bg-soft); }

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease, background-color 250ms ease;
}
header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.94); }
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
@media (max-width: 920px) { .nav { padding: 0 24px; } }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--navy-1), var(--navy-2));
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.brand-mark img { width: 30px; height: auto; display: block; }
.brand .wise { color: var(--blue); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 9px 13px;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav .btn { min-height: 42px; padding: 8px 16px 8px 20px; font-size: 0.9rem; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { border-top: none; padding-top: 150px; padding-bottom: 96px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 60px; } }
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 650;
  margin: 22px 0 24px;
}
.hero h1 .accent { color: var(--blue); }
.hero .lede { color: var(--muted); font-size: 1.08rem; max-width: 54ch; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 0.92rem; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.hero-note svg { color: var(--mint); flex: none; }

/* word-by-word blur reveal */
.wr .w {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.35em);
  animation: word-in 800ms cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
  animation-delay: var(--wd, 0ms);
}
@keyframes word-in {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.enter {
  opacity: 0;
  transform: translateY(16px);
  animation: enter 750ms cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
  animation-delay: var(--ed, 0ms);
}
@keyframes enter { to { opacity: 1; transform: translateY(0); } }

/* scroll reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.25, 1), filter 700ms ease;
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ---------- Hero console mockup ---------- */
.console-wrap { position: relative; }
.console {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(11,18,32,0.05), 0 24px 60px rgba(22, 39, 91, 0.10);
  overflow: hidden;
  animation: float-a 8s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.console-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.console-head .t { display: flex; align-items: center; gap: 11px; }
.console-head .ic {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.console-head strong { font-size: 0.88rem; font-weight: 600; display: block; line-height: 1.3; }
.console-head small { font-size: 0.74rem; color: var(--faint); }
.pill-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 600; color: var(--mint);
  background: var(--mint-soft);
  padding: 4px 11px; border-radius: 999px;
}
.pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.console-body { display: grid; grid-template-columns: 132px 1fr; }
@media (max-width: 480px) { .console-body { grid-template-columns: 1fr; } }
.console-side { border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 480px) { .console-side { flex-direction: row; border-right: none; border-bottom: 1px solid var(--line); } }
.console-side span {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500; color: var(--muted);
  padding: 7px 10px; border-radius: 8px;
}
.console-side span.on { background: var(--blue-soft); color: var(--blue); font-weight: 600; border: 1px solid #DBE6FF; }
.console-side svg { flex: none; }
.console-main { padding: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.stat {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.stat small { font-size: 0.68rem; color: var(--faint); display: block; line-height: 1.3; }
.stat strong { font-size: 1.02rem; font-weight: 650; letter-spacing: -0.02em; }
.stat em { font-style: normal; font-size: 0.68rem; font-weight: 600; color: var(--mint); display: block; }
.rules { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.rules-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.rules-head strong { font-size: 0.8rem; font-weight: 600; }
.rules-head span { font-size: 0.72rem; color: var(--blue); font-weight: 600; }
.rule {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.78rem; color: var(--muted);
  padding: 7px 9px; border-radius: 8px;
}
.rule + .rule { margin-top: 2px; }
.rule .ck {
  width: 17px; height: 17px; border-radius: 50%; flex: none;
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.rule:nth-child(odd) { background: var(--bg-soft); }
/* floating cards */
.float-card {
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(22, 39, 91, 0.18);
}
.fc-navy {
  right: -26px; bottom: -34px;
  width: min(250px, 78%);
  background: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 16px 18px;
  animation: float-b 9s ease-in-out infinite;
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.fc-navy .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.fc-navy .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; font-weight: 600; color: #C8D6FF; }
.fc-navy strong { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; display: block; }
.fc-navy small { font-size: 0.72rem; color: #AFC2F5; line-height: 1.45; display: block; }
.fc-chart {
  left: -30px; bottom: 36px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px 15px;
  width: 168px;
  animation: float-a 7s ease-in-out infinite;
}
@media (max-width: 1020px) { .fc-chart { left: -8px; } .fc-navy { right: -8px; } }
.fc-chart .tag { display: flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 600; color: var(--muted); margin-bottom: 9px; }
.fc-chart .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; }
.bars i {
  flex: 1; border-radius: 3px 3px 0 0; background: #D8E4FB;
  transform-origin: bottom;
  animation: bar-in 900ms cubic-bezier(0.2, 0.7, 0.25, 1) backwards;
}
.bars i:nth-child(1) { height: 38%; animation-delay: 750ms; }
.bars i:nth-child(2) { height: 55%; animation-delay: 830ms; }
.bars i:nth-child(3) { height: 42%; animation-delay: 910ms; }
.bars i:nth-child(4) { height: 88%; background: var(--blue); animation-delay: 990ms; }
.bars i:nth-child(5) { height: 60%; background: #9CC4F8; animation-delay: 1070ms; }
.bars i:nth-child(6) { height: 47%; animation-delay: 1150ms; }
@keyframes bar-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Services ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 920px) { .cards-3 { grid-template-columns: 1fr; } }
.svc {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background-color 250ms ease;
}
.svc:last-child { border-right: none; }
@media (max-width: 920px) { .svc { border-right: none; border-bottom: 1px solid var(--line); } .svc:last-child { border-bottom: none; } }
.svc:hover { background: var(--bg-soft); }
.svc-art {
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 1px 1px, #DFE6F0 1px, transparent 1.5px) 0 0 / 18px 18px,
    linear-gradient(160deg, #FDFEFF, #F4F8FE);
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(22, 39, 91, 0.10);
  padding: 12px 14px;
  width: 78%;
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.25, 1);
}
.svc:hover .mini { transform: translateY(-5px); }
.mini .l1 { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.mini .dot { width: 26px; height: 26px; border-radius: 7px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.mini .bar { height: 7px; border-radius: 4px; background: #E6ECF5; }
.mini .bar.b1 { width: 70%; margin-bottom: 7px; }
.mini .bar.b2 { width: 45%; }
.mini .ok { font-size: 0.72rem; font-weight: 600; color: var(--mint); }
.svc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.svc h3 { font-size: 1.12rem; font-weight: 600; }
.svc .go {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1px solid var(--line);
  color: var(--faint);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 300ms cubic-bezier(0.2,0.7,0.25,1);
}
.svc:hover .go { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateX(3px); }
.svc p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Products ---------- */
.pgroups { padding-bottom: 84px; }
.pgroup { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.pgroup + .pgroup { margin-top: 18px; }
.pgroup-head {
  display: flex; align-items: center; gap: 11px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  font-weight: 600; font-size: 0.97rem;
}
.pgroup-head svg { color: var(--blue); flex: none; }
.pgroup-head .count { margin-left: auto; font-size: 0.76rem; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; }
.plist { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .plist { grid-template-columns: 1fr; } }
.plist li {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  transition: background-color 220ms ease;
}
.plist li:last-child { border-right: none; }
@media (max-width: 920px) { .plist li { border-right: none; border-bottom: 1px solid var(--line); } .plist li:last-child { border-bottom: none; } }
.plist li:hover { background: var(--bg-soft); }
.plist strong { display: block; font-weight: 600; font-size: 0.96rem; margin-bottom: 5px; letter-spacing: -0.01em; }
.plist span { color: var(--muted); font-size: 0.89rem; line-height: 1.6; }

/* ---------- Banner ---------- */
.banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  padding-top: 56px; padding-bottom: 56px;
}
.banner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.banner p { color: var(--muted); font-size: 0.99rem; }

/* ---------- Steps ---------- */
.steps-bg {
  background-image: radial-gradient(circle at 1px 1px, #E3E9F2 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; padding-bottom: 84px; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  transition: box-shadow 250ms ease, border-color 250ms ease, transform 300ms cubic-bezier(0.2,0.7,0.25,1);
}
.steps li:hover { border-color: #C9D7F5; box-shadow: 0 14px 36px rgba(22, 39, 91, 0.10); transform: translateY(-4px); }
.steps li::before {
  content: "0" counter(step);
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.04rem; margin-bottom: 7px; }
.steps p { color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 22px; padding-bottom: 84px; align-items: start; }
@media (max-width: 920px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-aside {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
}
.faq-aside .kicker { margin-bottom: 14px; }
.faq-aside h3 { font-size: 1.3rem; margin-bottom: 10px; }
.faq-aside p { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.faq-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: none; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-weight: 600; font-size: 0.99rem;
  transition: background-color 200ms ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--bg-soft); }
.faq-list summary .x {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  border: 1px solid var(--line); color: var(--faint);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 250ms ease, color 250ms ease, border-color 250ms ease;
}
.faq-list details[open] summary .x { transform: rotate(45deg); color: var(--blue); border-color: #C9D7F5; }
.faq-list .a { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; max-width: 70ch; }

/* ---------- Contact ---------- */
.contact-panel {
  position: relative;
  background: linear-gradient(135deg, var(--navy-1) 0%, var(--navy-2) 100%);
  border-radius: 20px;
  padding: 56px 52px;
  color: #fff;
  overflow: hidden;
  margin-bottom: 84px;
}
@media (max-width: 720px) { .contact-panel { padding: 38px 26px; } }
.contact-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.13) 1px, transparent 1.6px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 70% 90% at 85% 15%, black, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 15%, black, transparent 65%);
  pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; position: relative; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } .contact-logo { display: none; } }
.contact-panel h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.contact-panel .sub { color: #BFD0F7; font-size: 1rem; margin-bottom: 30px; max-width: 50ch; }
.contact-methods { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.contact-panel .btn-primary { background: #fff; color: var(--navy-2); box-shadow: 0 10px 30px rgba(4, 16, 48, 0.35); }
.contact-panel .btn-primary:hover { background: #EDF2FF; }
.contact-panel .btn-primary .arr { background: var(--blue-soft); }
.contact-panel .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.32); }
.contact-panel .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.contact-detail { font-size: 0.93rem; color: #BFD0F7; }
.contact-detail a { color: #fff; text-decoration-color: rgba(255,255,255,0.4); }
.contact-logo { display: flex; justify-content: center; }
.contact-logo img { width: min(240px, 80%); height: auto; filter: drop-shadow(0 14px 36px rgba(2, 10, 34, 0.5)); }

footer { border-top: 1px solid var(--line); }
.foot {
  max-width: 1200px; margin: 0 auto; padding: 24px 56px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 0.86rem; color: var(--faint);
}
@media (max-width: 920px) { .foot { padding: 24px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .console, .fc-navy, .fc-chart { animation: none; }
  .bars i { animation: none; }
  .pill-live::before { animation: none; }
  .wr .w { animation-duration: 1ms; animation-delay: 0ms; }
  .enter { animation-duration: 1ms; animation-delay: 0ms; }
  .js .reveal { transition: none; opacity: 1; transform: none; filter: none; }
  .btn, .svc .mini, .svc .go, .steps li { transition: none; }
}

/* ===== Brand palette from the SwitchWise logo (navy, blue/cyan, green) ===== */
:root {
  --ink: #0B1726; --muted: #46566C; --faint: #627089;
  --blue: #1565C0; --blue-dark: #0D47A1; --blue-soft: #EAF2FC;
  --navy-1: #0B1A2E; --navy-2: #14407A; --cyan: #29B6F6; --green: #4ADE80;
  --mint: #15803D; --mint-soft: #E7F6EC;
}
::selection { background: rgba(21, 101, 192, 0.16); }

/* ===== Multi-page additions (on top of the original landing-page styles) ===== */
body { padding-bottom: 0; }
img { max-width: 100%; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top 150ms ease; }
.skip:focus { top: 12px; }

/* header: desktop dropdown + mobile menu */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-links { align-items: center; }
.nav-links a[aria-current="page"], .menu > summary[aria-current] { color: var(--blue); }
.menu { position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-weight: 500; font-size: 0.94rem; padding: 9px 13px; border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover, .menu[open] > summary { color: var(--ink); background: var(--bg-soft); }
.menu > summary svg { transition: transform 200ms ease; }
.menu[open] > summary svg { transform: rotate(180deg); }
.menu-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(640px, 92vw); list-style: none; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(22, 39, 91, 0.16);
  animation: menu-in 180ms cubic-bezier(0.2, 0.7, 0.25, 1);
}
@keyframes menu-in { from { opacity: 0; transform: translate(-50%, -6px); } }
.menu-panel a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background-color 160ms ease; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--bg-soft); }
.menu-panel .mi { width: 34px; height: 34px; border-radius: 9px; flex: none; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.menu-panel strong { display: block; font-size: 0.92rem; font-weight: 600; line-height: 1.3; }
.menu-panel small { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.mnav { display: none; position: relative; }
.mnav > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.mnav > summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 24px 60px rgba(22, 39, 91, 0.18); }
.mnav-panel ul { list-style: none; }
.mnav-panel a { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mnav-panel a:hover { background: var(--bg-soft); }
.mnav-panel a svg { color: var(--blue); }
.mnav-h { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); padding: 4px 10px 6px; }
.mnav-more { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
@media (max-width: 820px) {
  .main-nav { display: none; }
  .mnav { display: block; }
  .nav .btn { padding: 8px 14px; }
}
@media (max-width: 420px) { .nav-cta .btn .arr { display: none; } .nav-cta .btn { font-size: 0.86rem; } }

/* breadcrumbs */
.crumbs { padding-top: 104px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.86rem; color: var(--faint); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #C3CBD8; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* sub-page hero */
.phero { border-top: none; padding-top: 28px; padding-bottom: 72px; }
.phero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 1020px) { .phero-grid { grid-template-columns: 1fr; gap: 44px; } }
.phero h1 { font-size: clamp(2rem, 4.2vw, 3.05rem); font-weight: 650; margin: 20px 0 20px; }
.phero h1 .accent { color: var(--blue); }
.phero .lede { color: var(--muted); font-size: 1.07rem; max-width: 56ch; margin-bottom: 30px; }
.phero .lede p + p { margin-top: 12px; }

/* "what it does" visual card on service pages */
.vis { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(11,18,32,0.05), 0 24px 60px rgba(22, 39, 91, 0.10); padding: 22px; }
.vis-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.vis-head .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.vis-head strong { display: block; font-size: 0.95rem; }
.vis-head small { color: var(--faint); font-size: 0.78rem; }
.vis-rows { display: grid; gap: 10px; }
.vis-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 0.9rem; }
.vis-row span { color: var(--muted); display: flex; align-items: center; gap: 9px; }
.vis-row span svg { color: var(--blue); }
.vis-row b { font-weight: 600; }
.vis-row .on { color: var(--mint); font-weight: 600; font-size: 0.8rem; background: var(--mint-soft); padding: 3px 10px; border-radius: 999px; }
.vis-note { margin-top: 14px; font-size: 0.78rem; color: var(--faint); }
.vis .fc-navy { right: -18px; bottom: -28px; }
@media (max-width: 600px) { .vis .fc-navy { position: static; width: 100%; margin-top: 16px; animation: none; } }

/* content blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 72px; padding-bottom: 72px; align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; padding-bottom: 56px; } }
.split h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin: 14px 0 0; }
.prose { color: var(--muted); font-size: 1.01rem; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 30px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232456F0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 920px) { .facts { grid-template-columns: 1fr; } }
.fact { padding: 30px 32px 34px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: none; }
@media (max-width: 920px) { .fact { border-right: none; border-bottom: 1px solid var(--line); } .fact:last-child { border-bottom: none; } }
.fact .fi { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.fact h3 { font-size: 1.04rem; margin-bottom: 7px; }
.fact p { color: var(--muted); font-size: 0.93rem; }

/* product cards (service + products pages) */
.prods { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding-bottom: 72px; }
.prod { border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 24px; background: #fff; transition: border-color 220ms ease, box-shadow 220ms ease, transform 300ms cubic-bezier(0.2,0.7,0.25,1); }
.prod:hover { border-color: #C9D7F5; box-shadow: 0 14px 36px rgba(22, 39, 91, 0.08); transform: translateY(-3px); }
.prod .pi { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.prod h3 { font-size: 1rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.prod p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.prod .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.prod .tags span { font-size: 0.72rem; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 3px 9px; border-radius: 999px; }

/* home: service cards are links */
.svc-link { display: block; text-decoration: none; color: inherit; }
.cards-3.six { grid-template-columns: repeat(3, 1fr); }
.cards-3.six .svc { border-bottom: 1px solid var(--line); }
.cards-3.six .svc:nth-child(3n) { border-right: none; }
.cards-3.six .svc:nth-last-child(-n+3) { border-bottom: none; }
@media (max-width: 920px) {
  .cards-3.six { grid-template-columns: 1fr; }
  .cards-3.six .svc { border-right: none; border-bottom: 1px solid var(--line); }
  .cards-3.six .svc:last-child { border-bottom: none; }
}
.svc .svc-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 20px; }

/* related links */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding-bottom: 72px; }
.related a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.94rem; transition: border-color 200ms ease, background-color 200ms ease; }
.related a:hover { border-color: #C9D7F5; background: var(--bg-soft); }
.related a .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.related a .ar { margin-left: auto; color: var(--faint); }

/* contact page */
.cards-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
@media (max-width: 920px) { .cards-contact { grid-template-columns: 1fr; } }
.ccard { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: #fff; text-decoration: none; color: var(--ink); display: block; transition: border-color 220ms ease, box-shadow 220ms ease; }
.ccard:hover { border-color: #C9D7F5; box-shadow: 0 14px 36px rgba(22, 39, 91, 0.08); }
.ccard .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.ccard.wa .ci { background: var(--mint-soft); color: var(--mint); }
.ccard h2 { font-size: 1.1rem; margin-bottom: 4px; }
.ccard p { color: var(--muted); font-size: 0.93rem; }
.ccard strong { display: block; margin-top: 12px; color: var(--blue); font-weight: 600; }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-soft); }
.foot-grid { max-width: 1200px; margin: 0 auto; padding: 56px 56px 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr 1fr; padding: 44px 24px 28px; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 34ch; }
.foot-h { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.site-foot ul { list-style: none; display: grid; gap: 8px; }
.site-foot ul a, .site-foot ul span { color: var(--muted); text-decoration: none; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px; }
.site-foot ul a:hover { color: var(--blue); }
.foot-contact svg { color: var(--blue); flex: none; }
.foot-base { max-width: 1200px; margin: 0 auto; padding: 20px 56px 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.84rem; color: var(--faint); }
@media (max-width: 920px) { .foot-base { padding: 20px 24px 28px; } }

/* sticky quick-contact bar on phones */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 0.95rem; }
  .mbar-wa { background: #1FA855; color: #fff; }
  .mbar-call { background: #fff; color: var(--ink); border: 1px solid var(--line); }
  .site-foot { padding-bottom: 72px; }
}

/* 404 */
.nf { padding-top: 160px; padding-bottom: 110px; text-align: center; }
.nf h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 18px 0 12px; }
.nf p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.nf .hero-ctas { justify-content: center; }

/* dark sections (alternating light / dark, as in the owner's mockups) */
.dark { background: var(--navy-1); color: #DCE6F5; border-top-color: #13263F; position: relative; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .kicker { color: var(--cyan); }
.dark .accent, .dark .sec-head h2 .accent { color: var(--cyan); }
.dark .intro, .dark .prose, .dark .lede { color: #B4C3D9; }
.dark .prose strong { color: #fff; }
.dark .prose a { color: var(--cyan); }
.dark .prose li::before { background-color: rgba(41,182,246,0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2329B6F6' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.28); }
.dark .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }
.dark .fact { border-color: #1A2F4C; }
.dark .fact p { color: #A9B9D0; }
.dark .fact .fi { background: rgba(41,182,246,0.12); color: var(--cyan); }
.dark .facts { border-top-color: #1A2F4C; }
.dark .svc:hover { background: rgba(255,255,255,0.03); }
.dark .cards-3, .dark .svc { border-color: #1A2F4C !important; }
.dark .svc p { color: #A9B9D0; }
.dark .svc .svc-ic { background: rgba(41,182,246,0.12); color: var(--cyan); }
.dark .svc .go { border-color: #2A4366; color: #8EA3C0; }

/* home hero: full-bleed night photo */
.hero-photo { border-top: none; padding: 0; min-height: min(860px, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-photo .bgimg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.04); animation: slowzoom 18s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,16,30,0.94) 0%, rgba(7,16,30,0.82) 38%, rgba(7,16,30,0.25) 70%, rgba(7,16,30,0.35) 100%), linear-gradient(0deg, rgba(7,16,30,0.9) 0%, rgba(7,16,30,0) 40%); }
@media (max-width: 820px) { .hero-photo::after { background: linear-gradient(180deg, rgba(7,16,30,0.55) 0%, rgba(7,16,30,0.82) 45%, rgba(7,16,30,0.96) 100%); } .hero-photo .bgimg { object-position: 75% 30%; } }
.hero-photo .inner { width: 100%; padding-top: 150px; padding-bottom: 72px; }
.hero-photo h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 650; max-width: 16ch; margin: 22px 0 22px; }
.hero-photo h1 .accent { color: var(--cyan); }
.hero-photo .lede { color: #C8D5E8; font-size: 1.1rem; max-width: 52ch; margin-bottom: 32px; }
.hero-photo .hero-note { color: #9FB2CC; }
.hero-photo .hero-note svg { color: var(--green); }
.hero-photo .btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(6px); }
.hero-photo .btn-ghost:hover { background: rgba(255,255,255,0.14); }
.hero-photo .kicker { color: var(--cyan); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14); max-width: 760px; }
.trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 0.92rem; color: #C8D5E8; }
.trust svg { color: var(--cyan); }
.btn-wa { background: #1A8D48; color: #fff; box-shadow: 0 10px 28px rgba(31,168,85,0.3); }
.btn-wa:hover { background: #157A3D; }

/* wide image band with caption */
.band { display: grid; grid-template-columns: 1.1fr 0.9fr; border-top: 1px solid var(--line); }
@media (max-width: 920px) { .band { grid-template-columns: 1fr; } }
.band figure { margin: 0; position: relative; min-height: 340px; overflow: hidden; background: var(--navy-1); }
.band figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2,0.7,0.25,1); }
.band:hover figure img { transform: scale(1.03); }
.band .txt { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 920px) { .band .txt { padding: 40px 24px; } }
.band .txt h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 14px 0 14px; }
.band .txt .btn { align-self: flex-start; margin-top: 22px; }
.band.flip { grid-template-columns: 0.9fr 1.1fr; }
.band.flip figure { order: 2; }
@media (max-width: 920px) { .band.flip { grid-template-columns: 1fr; } .band.flip figure { order: 0; } }

/* product photo inside card */
.prod .ph { aspect-ratio: 1; margin: -6px -6px 14px; border-radius: 12px; background: #fff; overflow: hidden; display: grid; place-items: center; border: 1px solid #F0F3F7; }
.prod .ph img { width: 82%; height: 82%; object-fit: contain; transition: transform 400ms cubic-bezier(0.2,0.7,0.25,1); }
.prod:hover .ph img { transform: scale(1.05); }

/* service page media (render or video) */
.media { position: relative; border-radius: 18px; overflow: hidden; background: var(--navy-1); box-shadow: 0 24px 60px rgba(11, 26, 46, 0.22); aspect-ratio: 3 / 2; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.tall { aspect-ratio: 2 / 3; max-width: 400px; margin: 0 auto; }
.media .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(0deg, rgba(7,16,30,0.55), rgba(7,16,30,0.05)); border: 0; cursor: pointer; color: #fff; width: 100%; font: inherit; }
.media .play span { width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,0.18); backdrop-filter: blur(8px); display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.4); transition: transform 200ms ease, background-color 200ms ease; }
.media .play:hover span { transform: scale(1.06); background: rgba(255,255,255,0.28); }
.media .play small { position: absolute; bottom: 16px; left: 18px; font-size: 0.82rem; font-weight: 600; }
.media.playing .play { display: none; }

/* areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 0.93rem; }
.areas span svg { color: var(--blue); }
.dark .areas span { background: rgba(255,255,255,0.04); border-color: #22395A; color: #DCE6F5; }
.dark .areas span svg { color: var(--cyan); }

.foot-areas { display: flex; align-items: flex-start; gap: 6px; font-size: 0.86rem !important; }
.foot-areas svg { color: var(--blue); flex: none; margin-top: 4px; }
.site-foot ul.social { display: flex; gap: 8px; margin-top: 16px; }
.site-foot ul.social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--muted); }
.site-foot ul.social a:hover { color: var(--blue); border-color: #C9D7F5; }

@media (prefers-reduced-motion: reduce) {
  .menu-panel { animation: none; }
  .prod, .ccard, .related a { transition: none; }
  .hero-photo .bgimg { animation: none; transform: none; }
  .band figure img, .prod .ph img { transition: none; }
}

/* logo mark: icon-only crop of the logo, on white */
.brand-mark { background: none; width: 40px; height: 40px; border-radius: 0; }
.brand-mark img { width: 38px; }
.prods { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.prod .ph { aspect-ratio: 5 / 4; }

.related { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 920px) { .contact-logo { display: none; } }
.dark .prod h3 { color: var(--ink); }
.dark .intro a { color: var(--cyan); }
.intro a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.intro a:hover { text-decoration: underline; }

/* "needs info" slots: a section stays hidden until the client answers it in the editor */
.slot-section:has(.slot:empty) { display: none; }
.slot + .slot { margin-top: 14px; }
.slot figure { margin: 0 0 6px; }
.slot figure img { width: 100%; height: auto; border-radius: 14px; display: block; }

/* contact form */
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,101,192,0.14); }
.lead-form .btn { justify-self: start; border: 0; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .fgrid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.84rem; color: var(--faint); }
.form-err { background: #FDECEC; color: #8A1C1C; border-radius: 10px; padding: 10px 12px; font-size: 0.92rem; }

/* blog */
.post { padding-top: 24px; padding-bottom: 64px; max-width: 820px; }
.post h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 18px 0 22px; }
.post-hero { margin: 0 0 28px; }
.post-hero img { width: 100%; height: auto; border-radius: 18px; display: block; }
.post-body h2 { font-size: 1.5rem; margin: 30px 0 10px; color: var(--ink); }
.post-body h3 { font-size: 1.2rem; margin: 24px 0 8px; color: var(--ink); }
.post-body figure { margin: 22px 0; } .post-body figure img { width: 100%; height: auto; border-radius: 14px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; padding-bottom: 72px; }
.post-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-card > div { padding: 18px 20px 22px; }
.post-card h2 { font-size: 1.15rem; margin: 4px 0 8px; } .post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--blue); }
.post-card p { color: var(--muted); font-size: 0.93rem; }
.post-date { font-size: 0.8rem !important; color: var(--faint) !important; font-weight: 600; }
.post-empty { color: var(--muted); padding: 24px 0 48px; }
