/*
Theme Name: homescan v1
Theme URI: https://homescan.ug
Author: homescan
Author URI: https://homescan.ug
Description: A modern security monitoring theme — quiet, watchful, and built for homes across Uganda.
Version: 1.0.0
License: GPL v2 or later
Text Domain: homescan
*/

/* Design tokens */
:root {
  --brand: #509acb;
  --brand-glow: #82bee0;
  --accent: #f07b3f;
  --accent-glow: #ffa26b;

  --bg: #f9fafb;
  --bg-alt: #eef3f8;
  --fg: #0f172a;
  --fg-mid: #334155;
  --fg-muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --card: #ffffff;
  --card-hover: #fafbfd;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 1px 4px rgba(15,23,42,.04);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.08), 0 2px 8px rgba(15,23,42,.04);
  --shadow-xl: 0 24px 48px -12px rgba(15,23,42,.12);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; }
p { color: var(--fg-mid); }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

.site { position: relative; }

/* Skip link for accessibility + SEO */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--fg);
  color: #fff;
  border-radius: var(--r-xs);
  font-weight: 600;
  font-size: 14px;
  transition: top .2s;
}
.skip-link:focus {
  top: 8px;
}

/* Aurora blobs */
.aurora {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  animation: aurora-drift 20s ease-in-out infinite;
}
.aurora-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(80,154,203,.45) 0%, transparent 70%);
  top: -15%; left: -10%;
}
.aurora-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(130,190,224,.4) 0%, transparent 70%);
  bottom: -10%; right: -8%;
  animation-delay: -7s;
}
.aurora-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(80,154,203,.35) 0%, transparent 70%);
  top: 60%; left: 40%;
  animation-delay: -13s;
}
@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.08); }
  50% { transform: translate(-20px, 20px) scale(0.94); }
  75% { transform: translate(30px, 10px) scale(1.04); }
}

/* Shared atoms */
.dot {
  display: inline-block;
  border-radius: 999px;
  flex-shrink: 0;
}
.dot-live {
  box-shadow: 0 0 0 0 var(--accent);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(240,123,63,.5); }
  70% { box-shadow: 0 0 0 10px rgba(240,123,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,123,63,0); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-mid);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--fg);
  color: #fff;
}
.btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 8px 24px rgba(15,23,42,.2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--fg-muted);
}

.btn-outline {
  background: var(--card);
  color: var(--fg);
  border: 1.5px solid var(--line-strong);
}
.btn-outline:hover {
  border-color: var(--fg);
  box-shadow: var(--shadow-sm);
}

.btn-light {
  background: #fff;
  color: var(--fg);
}
.btn-light:hover {
  background: var(--brand-glow);
  box-shadow: 0 8px 24px rgba(15,23,42,.15);
}

.muted-link {
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.muted-link:hover { color: var(--fg); }

.btn-arrow svg { transition: transform .2s ease; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* Nav */
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 80px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: all .3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 3px rgba(15,23,42,.06);
}

/* Nav position */
.nav--sticky { position: sticky; top: 0; z-index: 100; }

/* Nav menu alignment */
.nav--menu-left {
  grid-template-columns: auto 1fr auto;
}
.nav--menu-left .brand { justify-self: start; }
.nav--menu-left .nav-links { justify-content: flex-start; padding-left: 40px; }

.nav--menu-center {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav--menu-center .brand { justify-self: auto; }
.nav--menu-center .nav-links { justify-content: center; }

.nav--menu-right {
  grid-template-columns: 1fr auto auto;
}
.nav--menu-right .brand { justify-self: end; order: 3; }
.nav--menu-right .nav-links { justify-content: flex-end; padding-right: 40px; order: 2; }
.nav--menu-right .nav-toggle { order: 4; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: 18px;
  color: var(--fg);
}
.brand-logo {
  width: 30px; height: 30px;
  background: var(--brand);
  border-radius: var(--r-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.brand-logo svg { width: 16px; height: 16px; }

.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { height: 36px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-mid);
  justify-self: center;
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: #509acb; }

/* Nav — WordPress menu classes */
.nav-links .menu { display: flex; gap: 32px; list-style: none; }
.nav-links .menu a { font-size: 14px; font-weight: 600; color: var(--fg-mid); transition: color .15s; }
.nav-links .menu a:hover { color: #509acb; }
.nav-links .current-menu-item > a { color: var(--fg); }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--card);
}
.nav-toggle span {
  display: block;
  width: 16px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.nav--open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(249,250,251,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  flex-direction: column;
  padding: 120px 48px 48px;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu--open { opacity: 1; pointer-events: auto; }
.mobile-menu > a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .menu { display: flex; flex-direction: column; gap: 2px; list-style: none; }
.mobile-menu .menu a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: block;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.hero {
  padding: 56px 80px 96px;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #bcd9ef 0%, #d3e6f4 50%, var(--bg) 100%);
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(52px, 6vw, 80px);
  line-height: .98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 28px 0 24px;
}
.hero-copy h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, transparent 55%, var(--brand) 55%);
  padding: 0 6px;
}

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-mid);
  max-width: 460px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 36px 0 48px;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  width: fit-content;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.hero-meta span {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
}

.device-frame {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 16px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}
.device-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 2px 4px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.device-status { display: inline-flex; align-items: center; gap: 7px; color: var(--fg-mid); }

.device-feed {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: #0f172a;
  background-image:
    linear-gradient(180deg, rgba(15,23,42,.35) 0%, rgba(15,23,42,.6) 100%),
    url("https://images.unsplash.com/photo-1689520365774-dc1d771b817e?fm=jpg&q=70&w=1200&auto=format&fit=crop");
  background-size: cover;
  background-position: center 40%;
  border-radius: var(--r-md);
  overflow: hidden;
}
.feed-label {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.65);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  z-index: 3;
  background: rgba(0,0,0,.4);
  padding: 4px 8px;
  border-radius: 4px;
}
.feed-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: .15;
  pointer-events: none;
}
.feed-strip {
  background: linear-gradient(180deg,
    rgba(80,154,203,0) 0%,
    rgba(80,154,203,.25) 50%,
    rgba(80,154,203,0) 100%);
  animation: scanline 4s ease-in-out infinite;
}
@keyframes scanline {
  0%, 100% { opacity: .2; transform: translateY(0); }
  50% { opacity: .9; transform: translateY(4px); }
}

.feed-overlay { position: absolute; inset: 0; z-index: 2; }
.bbox {
  position: absolute;
  top: 28%; left: 32%;
  width: 28%; height: 50%;
  border: 2px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.15), 0 0 20px rgba(240,123,63,.25);
}
.bbox span {
  position: absolute;
  top: -24px; left: -2px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  white-space: nowrap;
}

.device-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.device-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-mid);
}
.device-chip span { flex: 1; }
.device-chip .ok {
  font-size: 10.5px;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 999px;
}

.float-card {
  position: absolute;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(203,213,225,.6);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 32px -12px rgba(15,23,42,.18);
  font-size: 13px;
  max-width: 240px;
  z-index: 3;
}
.float-card--bot {
  bottom: 4%;
  right: -8%;
  animation: floaty 6s ease-in-out infinite 1.5s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fc-title { font-weight: 700; color: var(--fg); }
.fc-sub { font-size: 11px; color: var(--fg-muted); margin-top: 3px; }

/* Camera lineup */
.cam-banner {
  padding: 28px 80px 96px;
  position: relative;
  z-index: 1;
}
.cam-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 80px; right: 80px;
  height: 1px;
  background: var(--line);
}
.cam-banner-head {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 40px 0 32px;
}
.cam-banner-head h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.12;
  max-width: 440px;
}
.cam-banner-head p {
  font-size: 15px;
  color: var(--fg-mid);
  line-height: 1.6;
  max-width: 380px;
  justify-self: end;
}
.cam-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cam-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  contain: layout style;
}
.cam-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.cam-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}
.cam-card-tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-alt);
  padding: 4px 8px;
  border-radius: 4px;
}
.cam-card-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
}
.cam-card-foot { padding: 0 4px 6px; }
.cam-card-foot h3 {
  font-size: 17px;
  margin-bottom: 3px;
}
.cam-card-foot p {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Sections */
.section {
  padding: 96px 80px;
  position: relative;
  z-index: 1;
}
.section--tinted {
  background: linear-gradient(180deg, #dceaf5 0%, #d0e2f2 100%);
}
.section--tinted-alt {
  background: linear-gradient(180deg, var(--bg) 0%, #e0edf6 50%, var(--bg) 100%);
}
/* Off-screen sections render on demand */
.cam-banner,
.section,
.cta-band {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 52px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1.05;
  margin-top: 24px;
  max-width: 560px;
}
.section-lede {
  font-size: 17px;
  color: var(--fg-mid);
  line-height: 1.65;
  max-width: 460px;
  justify-self: end;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1), border-color .3s ease;
  contain: layout style;
}
.product:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-icon {
  width: 40px; height: 40px;
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg);
}
.product-tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--fg-muted);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.product-art {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.product-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product:hover .product-art img { transform: scale(1.04); }
.product h3 { font-size: 18px; }
.product p {
  font-size: 14px;
  color: var(--fg-mid);
  line-height: 1.55;
}
.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.specs li {
  font-size: 11px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  color: var(--fg-mid);
  background: var(--bg-alt);
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 500;
}
.product-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  transition: color .15s;
}
.product-link:hover { color: var(--accent); }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, border-color .3s ease;
  contain: layout style;
}
.why:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #509acb 0%, #82bee0 100%);
  border: 1px solid #3d8ab8;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  margin-bottom: 2px;
}
.why h3 { font-size: 17px; }
.why p { font-size: 14px; color: var(--fg-mid); line-height: 1.6; }

/* How */
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  position: relative;
}
.step {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all .3s ease;
}
.step:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.step-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 20px;
  background: rgba(240,123,63,.1);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--fg-mid); line-height: 1.6; }
.step-arrow {
  position: absolute;
  right: -28px;
  top: 56px;
  width: 36px;
  height: 12px;
  color: var(--line-strong);
  z-index: 1;
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.plan:hover { box-shadow: var(--shadow-md); }
.plan--featured {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-3px); }
.plan--featured h3,
.plan--featured .plan-price,
.plan--featured .plan-price-currency,
.plan--featured .plan-price-suffix,
.plan--featured .plan-feats li { color: rgba(255,255,255,.85); }
.plan--featured .plan-blurb { color: rgba(255,255,255,.6); }
.plan--featured .plan-feats { border-color: rgba(255,255,255,.12); }
.plan--featured .plan-feats svg { color: var(--accent); }
.plan--featured .btn-primary { background: #fff; color: var(--fg); }
.plan--featured .btn-primary:hover { background: var(--brand-glow); box-shadow: 0 8px 24px rgba(0,0,0,.25); }

.plan-badge {
  position: absolute;
  top: -13px;
  left: 36px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.plan h3 { font-size: 24px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; color: var(--fg); }
.plan-price-currency { font-size: 18px; font-weight: 600; color: var(--fg-muted); }
.plan-price-num { font-size: 44px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.plan-price-suffix { font-size: 14px; color: var(--fg-muted); margin-left: 2px; font-weight: 500; }
.plan-price-custom { font-size: 44px; font-weight: 800; letter-spacing: -0.035em; }
.plan-blurb { font-size: 14px; color: var(--fg-mid); line-height: 1.5; }
.plan-feats {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 14px 0 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.plan-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-mid);
  font-weight: 500;
}
.plan-feats svg { color: var(--accent); flex-shrink: 0; }
.plan .btn { justify-content: center; width: 100%; margin-top: auto; }

/* CTA */
.cta-band {
  padding: 0 80px 96px;
  position: relative;
  z-index: 1;
}
.cta-band-inner {
  background: var(--fg);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-band-inner::before {
  content: "";
  position: absolute;
  top: -60%; right: -15%;
  width: 70%; height: 220%;
  background: radial-gradient(ellipse at center,
    rgba(80,154,203,.5) 0%,
    transparent 55%);
  pointer-events: none;
}
.cta-band-inner::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50%; height: 160%;
  background: radial-gradient(ellipse at center,
    rgba(240,123,63,.2) 0%,
    transparent 55%);
  pointer-events: none;
}
.cta-band-inner > * { position: relative; z-index: 1; }
.cta-band-inner .eyebrow {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
}
.cta-band-inner h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.1;
  margin-top: 20px;
  color: #fff;
}
.cta-band-inner .muted-link { color: rgba(255,255,255,.55); }
.cta-band-inner .muted-link:hover { color: #fff; }
.cta-band-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: end;
}

/* Footer */
.foot {
  padding: 72px 80px 40px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 96px;
  margin-bottom: 72px;
}
.foot-tag {
  font-size: 15px;
  color: var(--fg-muted);
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.55;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.foot-cols h4 {
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 18px;
  font-weight: 700;
}
.foot-cols a {
  display: block;
  font-size: 14.5px;
  color: var(--fg-mid);
  padding: 5px 0;
  font-weight: 500;
  transition: color .15s;
}
.foot-cols a:hover { color: var(--accent); }

/* WordPress footer menu support */
.foot-cols .menu { display: flex; flex-direction: column; list-style: none; }
.foot-cols .menu a {
  display: block;
  font-size: 14.5px;
  color: var(--fg-mid);
  padding: 5px 0;
  font-weight: 500;
  transition: color .15s;
}
.foot-cols .menu a:hover { color: var(--accent); }

.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--fg-muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
}

/* WordPress content area */
.page-content {
  padding: 64px 80px;
}
.page-content h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  margin-bottom: 24px;
}
.page-content h2 { font-size: 28px; margin: 36px 0 16px; }
.page-content h3 { font-size: 22px; margin: 28px 0 12px; }
.page-content p { margin-bottom: 16px; font-size: 17px; }
.page-content ul, .page-content ol { margin: 0 0 24px 24px; }
.page-content li { margin-bottom: 8px; color: var(--fg-mid); }
.page-content a { color: var(--brand); text-decoration: underline; }
.page-content a:hover { color: var(--accent); }
.page-content blockquote {
  border-left: 3px solid var(--brand);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-alt);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
}
.page-content img {
  border-radius: var(--r-md);
  margin: 24px 0;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.page-content th, .page-content td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
}
.page-content th {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* About page */
.about-hero {
  padding: 96px 80px 80px;
  background: linear-gradient(180deg, #bcd9ef 0%, #dceaf5 50%, var(--bg) 100%);
  text-align: center;
}
.about-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.about-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.about-hero-sub {
  font-size: 18px;
  color: var(--fg-mid);
  line-height: 1.65;
  margin-top: 24px;
}
.about-hero-img {
  margin-top: 48px;
}
.about-hero-img img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
}

.about-mv {
  padding: 0 80px 96px;
}
.about-mv-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}
.about-mv-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px;
}
.about-mv-card .eyebrow { margin-bottom: 12px; }
.about-mv-card p {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--fg-mid);
}

.about-values { padding: 80px; }
.about-values-inner { max-width: 960px; margin: 0 auto; }
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.value-chip svg { color: var(--accent); flex-shrink: 0; }

.about-story {
  padding: 0 80px 96px;
}
.about-story-inner {
  max-width: 760px;
  margin: 0 auto;
}
.about-story-inner h2 {
  font-size: 28px;
  margin: 40px 0 16px;
  letter-spacing: -0.025em;
}
.about-story-inner h3 {
  font-size: 21px;
  margin: 28px 0 12px;
}
.about-story-inner p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-mid);
  margin-bottom: 20px;
}
.about-story-inner ul, .about-story-inner ol {
  margin: 0 0 24px 24px;
  color: var(--fg-mid);
  font-size: 17px;
}
.about-story-inner li { margin-bottom: 8px; }
.about-story-inner a { color: var(--brand); text-decoration: underline; }
.about-story-inner a:hover { color: var(--accent); }
.about-story-inner img {
  border-radius: var(--r-lg);
  margin: 32px 0;
  width: 100%;
}

.about-stats {
  padding: 0 80px 96px;
}
.about-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.about-proof {
  padding: 64px 80px;
  text-align: center;
}
.about-proof-inner {
  max-width: 640px;
  margin: 0 auto;
}
.about-proof-cta {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--fg);
}
.about-stat {
  text-align: center;
  padding: 36px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.about-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 6px;
}
.about-stat span {
  font-size: 14px;
  color: var(--fg-muted);
}

/* Products page */
.prod-hero {
  padding: 100px 80px 72px;
  text-align: center;
}
.prod-hero-inner { max-width: 680px; margin: 0 auto; }
.prod-hero h1 { font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -0.03em; font-weight: 800; }
.prod-hero-sub { font-size: 18px; color: var(--fg-mid); margin-top: 16px; line-height: 1.5; }

.prod-grid-section { padding: 40px 80px 80px; }
.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.prod-card {
  display: flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.prod-card-img {
  flex: 0 0 240px;
  position: relative;
  background: var(--line-soft);
  overflow: hidden;
}
.prod-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-card-img--empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
}
.prod-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(15,23,42,.78);
  color: #fff;
  backdrop-filter: blur(8px);
}

.prod-card-body {
  flex: 1;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
}
.prod-card-icon { margin-bottom: 12px; color: var(--accent); }
.prod-card-body h2 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.prod-card-desc { font-size: 14px; color: var(--fg-mid); line-height: 1.6; margin-bottom: 16px; }

.prod-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.prod-card-specs li {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--line-soft);
  color: var(--fg-mid);
}
.prod-card-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.prod-card-link:hover { gap: 10px; }

.prod-empty {
  text-align: center;
  padding: 64px 32px;
  color: var(--fg-muted);
}

/* Services page */
.svc-hero {
  padding: 100px 80px 72px;
  text-align: center;
}
.svc-hero-inner { max-width: 680px; margin: 0 auto; }
.svc-hero h1 { font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -0.03em; font-weight: 800; }
.svc-hero-sub { font-size: 18px; color: var(--fg-mid); margin-top: 16px; line-height: 1.5; }

.svc-grid-section { padding: 40px 80px 80px; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.svc-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--brand);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--accent);
}
.svc-card-img {
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  margin: -36px -28px 0;
}
.svc-card-img img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.svc-card-body { padding-top: 24px; }
.svc-card h2 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--fg-mid); line-height: 1.65; }

/* Contact page */
.contact-hero {
  padding: 96px 80px 80px;
  background: linear-gradient(180deg, #bcd9ef 0%, #dceaf5 50%, var(--bg) 100%);
  text-align: center;
}
.contact-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}
.contact-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.contact-hero-sub {
  font-size: 18px;
  color: var(--fg-mid);
  line-height: 1.65;
  margin-top: 20px;
}

.contact-body {
  padding-top: 64px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Messages */
.contact-msg {
  padding: 16px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.contact-msg strong { display: block; margin-bottom: 4px; }
.contact-msg a { color: inherit; text-decoration: underline; }
.contact-msg--ok {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.contact-msg--warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.contact-msg--err {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 5px;
}
.contact-form .req { color: var(--accent); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--card);
  color: var(--fg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(80,154,203,.15);
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row { display: grid; gap: 18px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }

.form-radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-mid);
  cursor: pointer;
  transition: all .15s ease;
  background: var(--card);
}
.form-radio:hover { border-color: var(--line-strong); }
.form-radio:has(input:checked) {
  border-color: var(--brand);
  background: rgba(80,154,203,.08);
  color: var(--fg);
}
.form-radio input[type="radio"] { accent-color: var(--brand); width: 15px; height: 15px; }

.contact-submit {
  align-self: flex-start;
  padding: 16px 32px;
  font-size: 15px;
}
.form-note {
  font-size: 12.5px;
  color: var(--fg-muted);
  margin-top: -4px;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.contact-info-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.contact-info-card h4 {
  font-size: 14px;
  margin-bottom: 2px;
}
.contact-info-card p {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
}
.contact-info-sub {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--fg-muted) !important;
  margin-top: 3px;
}

.contact-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.contact-trust-stat {
  text-align: center;
  padding: 18px 12px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.contact-trust-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 2px;
}
.contact-trust-stat span {
  font-size: 11.5px;
  color: var(--fg-muted);
}

/* Site-wide alert banner */
.alert-bar {
  position: sticky;
  top: 0;
  z-index: 300;
  font-size: 13.5px;
  font-weight: 600;
}
.alert-bar--info {
  background: #dbeafe;
  color: #1e40af;
  border-bottom: 1px solid #bfdbfe;
}
.alert-bar--warning {
  background: #fef3c7;
  color: #92400e;
  border-bottom: 1px solid #fde68a;
}
.alert-bar--emergency {
  background: #fee2e2;
  color: #991b1b;
  border-bottom: 1px solid #fecaca;
}
.alert-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 24px;
  max-width: 100%;
}
.alert-bar-msg {
  text-align: center;
  line-height: 1.4;
  color: inherit;
}
.alert-bar-close {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  background: rgba(0,0,0,.06);
  color: inherit;
  transition: background .15s;
}
.alert-bar-close:hover { background: rgba(0,0,0,.12); }

/* Our Works page */
.works-hero {
  padding: 96px 80px 80px;
  background: linear-gradient(180deg, #bcd9ef 0%, #dceaf5 50%, var(--bg) 100%);
  text-align: center;
}
.works-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}
.works-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.works-hero-sub {
  font-size: 18px;
  color: var(--fg-mid);
  line-height: 1.65;
  margin-top: 20px;
}

.works-grid-section { padding-top: 40px; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.works-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  contain: layout style;
}
.works-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.works-card-link { display: block; }

.works-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.works-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.works-card:hover .works-card-img img { transform: scale(1.04); }

.works-card-img--empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
}

.works-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
}

.works-card-body {
  padding: 20px;
}
.works-card-body h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.works-card-meta {
  font-size: 13px;
  color: var(--fg-muted);
}

.works-empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--fg-muted);
  font-size: 16px;
}

/* Single project page */
.project-hero-img {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  background: var(--bg-alt);
}
.project-hero-img img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.project-header {
  padding: 48px 80px 0;
}
.project-header-inner {
  max-width: 760px;
  margin: 0 auto;
}
.project-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 16px;
  transition: color .15s;
}
.project-back:hover { color: var(--accent); }
.project-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 800;
  line-height: 1.1;
}
.project-meta {
  font-size: 16px;
  color: var(--fg-muted);
  margin-top: 12px;
}

.project-content { padding-top: 48px; }
.project-content-inner {
  max-width: 760px;
  margin: 0 auto;
}
.project-content-inner h2 {
  font-size: 24px;
  margin: 36px 0 14px;
  letter-spacing: -0.02em;
}
.project-content-inner h3 { font-size: 20px; margin: 28px 0 10px; }
.project-content-inner p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-mid);
  margin-bottom: 18px;
}
.project-content-inner ul, .project-content-inner ol {
  margin: 0 0 22px 24px;
  color: var(--fg-mid);
  font-size: 17px;
}
.project-content-inner li { margin-bottom: 6px; }
.project-content-inner a { color: var(--brand); text-decoration: underline; }
.project-content-inner img {
  border-radius: var(--r-md);
  margin: 24px 0;
  width: 100%;
}

.project-gallery { padding-top: 48px; }
.project-gallery-inner {
  max-width: 960px;
  margin: 0 auto;
}
.project-gallery h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.project-gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-alt);
}
.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WhatsApp floating icon */
.wa-float {
  position: fixed;
  bottom: 28px;
  z-index: 200;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.35), 0 1px 4px rgba(0,0,0,.1);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.12);
}
.wa-float svg {
  width: 32px; height: 32px;
}
.wa-float--right { right: 28px; }
.wa-float--left  { left: 28px; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.35), 0 1px 4px rgba(0,0,0,.1); }
  50% { box-shadow: 0 4px 28px rgba(37,211,102,.55), 0 2px 8px rgba(0,0,0,.15); }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { padding: 16px 48px; }
  .hero-split { grid-template-columns: 1fr; gap: 80px; }
  .hero-visual { aspect-ratio: 5 / 4; max-width: 560px; margin: 0 auto; width: 100%; }
  .cam-banner-head { grid-template-columns: 1fr; gap: 16px; }
  .cam-banner-head p { justify-self: start; }
  .cam-strip { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-lede { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .step-arrow { display: none; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-3px); }
  .cta-band-inner { grid-template-columns: 1fr; padding: 56px; }
  .cta-band-actions { justify-self: start; }
  .foot-top { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 80px 48px; }
  .hero { padding: 40px 48px 80px; }
  .cam-banner { padding: 28px 48px 80px; }
  .cam-banner::before { left: 48px; right: 48px; }
  .cta-band { padding: 0 48px 80px; }
  .foot { padding: 60px 48px 40px; }
  .page-content { padding: 48px 48px; }
  .about-hero { padding: 80px 48px 64px; }
  .about-mv { padding: 0 48px 80px; }
  .about-values { padding: 48px; }
  .about-story { padding: 0 48px 80px; }
  .about-stats { padding: 0 48px 80px; }
  .about-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .about-proof { padding: 48px; }
  .contact-hero { padding: 80px 48px 64px; }
  .contact-body { padding: 48px 48px 0; }
  .works-hero { padding: 80px 48px 64px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .project-header { padding: 40px 48px 0; }
  .project-content { padding: 40px 48px 0; }
  .project-gallery { padding: 40px 48px 0; }
  .prod-hero { padding: 80px 48px 64px; }
  .prod-grid-section { padding: 32px 48px 72px; }
  .prod-grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-hero { padding: 80px 48px 64px; }
  .svc-grid-section { padding: 32px 48px 72px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 860px) {
  .nav {
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
    margin: 0;
    border-radius: 0;
  }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav--menu-center { display: grid; grid-template-columns: 1fr auto; gap: 0; }
  .mobile-menu { display: flex; padding: 96px 32px 40px; }
  .hero { padding-top: 40px; }
  .hero-copy h1 { font-size: clamp(44px, 8vw, 60px); }
  .float-card { display: none; }
  .section-head h2 { font-size: clamp(36px, 6vw, 48px); }
  .section-head { margin-bottom: 40px; }
  .section { padding: 64px 32px; }
  .hero { padding: 40px 32px 64px; }
  .cam-banner { padding: 28px 32px 64px; }
  .cam-banner::before { left: 32px; right: 32px; }
  .cta-band { padding: 0 32px 64px; }
  .foot { padding: 56px 32px 40px; }
  .page-content { padding: 40px 32px; }
  .about-hero { padding: 64px 32px 48px; }
  .about-hero h1 { font-size: clamp(36px, 7vw, 48px); }
  .about-mv { padding: 0 32px 64px; }
  .about-mv-inner { grid-template-columns: 1fr; gap: 20px; }
  .about-values { padding: 32px; }
  .about-story { padding: 0 32px 64px; }
  .about-stats { padding: 0 32px 64px; }
  .about-stats-inner { grid-template-columns: 1fr; gap: 16px; }
  .about-proof { padding: 32px; }
  .about-stat { padding: 28px 20px; }
  .about-stat strong { font-size: 30px; }
  .contact-hero { padding: 64px 32px 48px; }
  .contact-body { padding: 40px 32px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .contact-trust { grid-template-columns: repeat(3, 1fr); }
  .works-hero { padding: 64px 32px 48px; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .project-header { padding: 32px 32px 0; }
  .project-content { padding: 32px 32px 0; }
  .project-gallery { padding: 32px 32px 0; }
  .project-gallery-grid { grid-template-columns: 1fr; }
  .prod-hero { padding: 64px 32px 48px; }
  .prod-hero h1 { font-size: clamp(32px, 7vw, 48px); }
  .prod-grid-section { padding: 24px 32px 64px; }
  .prod-card { flex-direction: column; }
  .prod-card-img { flex: 0 0 200px; }
  .svc-hero { padding: 64px 32px 48px; }
  .svc-hero h1 { font-size: clamp(32px, 7vw, 48px); }
  .svc-grid-section { padding: 24px 32px 64px; }
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .nav { padding: 12px 16px; }
  .hero { padding-top: 36px; }
  .hero-copy h1 { font-size: 40px; }
  .hero-visual { aspect-ratio: 5 / 4; }
  .lede { font-size: 16px; }
  .cam-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cam-card { padding: 12px; }
  .cam-card-foot h3 { font-size: 15px; }
  .cam-card-foot p { font-size: 12px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-row .btn { justify-content: center; }
  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 20px 32px;
    width: 100%;
  }
  .hero-meta strong { font-size: 24px; }
  .product-grid, .why-grid { grid-template-columns: 1fr; }
  .product-art { aspect-ratio: 16 / 9; }
  .device-frame { padding: 12px; }
  .device-row { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 32px; }
  .section-lede { font-size: 15px; }
  .why { padding: 24px; }
  .step { padding: 28px 24px; }
  .plan { padding: 28px; }
  .plan-price-num { font-size: 38px; }
  .cta-band-inner { padding: 40px 24px; border-radius: var(--r-lg); }
  .cta-band-inner h2 { font-size: 28px; }
  .cta-band-actions { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-bot { flex-direction: column; gap: 12px; align-items: flex-start; font-size: 11px; }
  .mobile-menu > a { font-size: 24px; padding: 16px 0; }
  .mobile-menu .menu a { font-size: 24px; padding: 16px 0; }
  .aurora-1, .aurora-2, .aurora-3 { display: none; }
  .section { padding: 48px 20px; }
  .hero { padding: 36px 20px 48px; }
  .cam-banner { padding: 28px 20px 48px; }
  .cam-banner::before { left: 20px; right: 20px; }
  .cta-band { padding: 0 20px 48px; }
  .foot { padding: 48px 20px 32px; }
  .page-content { padding: 32px 20px; }
  .about-hero { padding: 48px 20px 40px; }
  .about-mv { padding: 0 20px 48px; }
  .about-values { padding: 20px; }
  .about-story { padding: 0 20px 48px; }
  .about-stats { padding: 0 20px 48px; }
  .about-proof { padding: 20px; }
  .contact-hero { padding: 48px 20px 40px; }
  .contact-body { padding: 32px 20px 0; }
  .works-hero { padding: 48px 20px 40px; }
  .works-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-header { padding: 28px 20px 0; }
  .project-content { padding: 28px 20px 0; }
  .project-gallery { padding: 28px 20px 0; }
  .prod-hero { padding: 48px 20px 40px; }
  .prod-grid-section { padding: 16px 20px 56px; }
  .prod-card-body { padding: 20px; }
  .prod-card-img { flex: 0 0 180px; }
  .svc-hero { padding: 48px 20px 40px; }
  .svc-grid-section { padding: 16px 20px 56px; }
}

@media (max-width: 380px) {
  .hero-copy h1 { font-size: 36px; }
  .foot-cols { grid-template-columns: 1fr; }
}
