/* ============================================================
   SAYNET SMART HOMES — Premium Homepage
   ============================================================ */

:root {
  --ivory: #F8F6F1;
  --beige: #EDE7DC;
  --sand: #D8C9B5;
  --charcoal: #1F2421;
  --forest: #30483B;
  --forest-deep: #24332A;
  --sage: #879887;
  --sage-soft: #AEBBA4;
  --gold: #B89A63;
  --gold-soft: #D6BE93;
  --white: #FFFFFF;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(31, 36, 33, 0.05);
  --shadow: 0 10px 34px rgba(31, 36, 33, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 36, 33, 0.12);
  --shadow-gold: 0 10px 26px rgba(184, 154, 99, 0.28);

  --border: 1px solid rgba(31, 36, 33, 0.08);
  --border-light: 1px solid rgba(248, 246, 241, 0.14);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }

.section { padding: 110px 0; }
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Typography ---------- */
.highlight { color: var(--forest); font-weight: 800; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 18px;
}
.eyebrow-line { width: 34px; height: 2px; background: var(--gold); border-radius: 2px; }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 640px;
}
.section-title.center { margin-inline: auto; text-align: center; max-width: 720px; }

.section-sub {
  margin-top: 18px;
  max-width: 560px;
  color: #5A625C;
  font-size: 1.05rem;
}

.section-head { margin-bottom: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

.btn-primary { background: var(--forest); color: var(--ivory); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: #a98b57; transform: translateY(-2px); }

.btn-light { background: rgba(248, 246, 241, 0.12); color: var(--ivory); border-color: rgba(248, 246, 241, 0.45); backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(248, 246, 241, 0.22); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--forest); border-color: rgba(48, 72, 59, 0.35); }
.btn-outline:hover { border-color: var(--forest); background: rgba(48, 72, 59, 0.06); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--charcoal); border-color: transparent; padding: 10px 18px; }
.btn-ghost:hover { background: var(--beige); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 246, 241, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(31, 36, 33, 0.08); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-icon { width: 42px; height: 42px; color: var(--forest); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: 0.28em; color: var(--charcoal); }
.brand-sub { font-weight: 600; font-size: 0.62rem; letter-spacing: 0.34em; color: var(--sage); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 28px; }

.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: #4A524B;
  padding: 6px 2px;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--forest); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 140px;
  background:
    radial-gradient(1200px 520px at 85% -10%, rgba(216, 201, 181, 0.4), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(135, 152, 135, 0.25), transparent 60%),
    var(--ivory);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #5A625C;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 28px; }

.trust-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.02em;
}
.trust-line svg { width: 18px; height: 18px; color: var(--forest); }

/* Hero visual */
.hero-visual { position: relative; }

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: var(--border);
}
.home-scene { width: 100%; height: auto; }

/* Floating indicators */
.indicator {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  color: var(--charcoal);
  z-index: 5;
  animation: floaty 6s ease-in-out infinite;
}
.indicator strong { font-weight: 800; }
.ind-check {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--ivory);
}
.ind-check svg { width: 13px; height: 13px; }

.ind-1 { top: 16%; left: -18px; animation-delay: 0s; }
.ind-2 { top: 8%; right: -14px; animation-delay: 1.2s; }
.ind-3 { bottom: 34%; right: -6px; animation-delay: 2.1s; }
.ind-4 { bottom: 13%; left: 24px; animation-delay: 0.7s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Security status card */
.status-card {
  position: relative;
  z-index: 10;
  margin: -44px auto 0;
  width: min(680px, 100%);
  background: linear-gradient(135deg, rgba(248, 246, 241, 0.92), rgba(248, 246, 241, 0.72));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 30px;
}

.status-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.status-title { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; color: var(--sage); }

.status-now {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--forest);
  text-transform: uppercase;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7FA07A;
  position: relative;
}
.pulse-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: #7FA07A;
  opacity: 0.5;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.status-main { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.status-dot {
  width: 54px; height: 54px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3D5A49, var(--forest));
  color: var(--ivory);
  box-shadow: 0 8px 20px rgba(48, 72, 59, 0.35);
}
.status-dot svg { width: 28px; height: 28px; }
.status-big { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.status-sub { font-size: 0.86rem; color: var(--sage); }

.status-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stat {
  background: rgba(255, 255, 255, 0.65);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1.1;
}
.stat-label { font-size: 0.74rem; font-weight: 600; color: #6B736C; }

/* ---------- Trust ---------- */
.trust { padding: 88px 0 96px; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.trust-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(48, 72, 59, 0.2); }
.trust-card h3 { font-size: 1.12rem; font-weight: 800; margin: 20px 0 8px; }
.trust-card p { font-size: 0.94rem; color: #5A625C; }

.icon-tile {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--beige), var(--ivory));
  border: var(--border);
  color: var(--forest);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.icon-tile svg { width: 27px; height: 27px; }
.trust-card:hover .icon-tile { transform: rotate(-4deg) scale(1.06); box-shadow: var(--shadow); }

/* ---------- Perimeter ---------- */
.perimeter { background: var(--beige); }

.perimeter-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 44px;
  align-items: center;
}

.property-map {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: var(--border);
  background: var(--forest-deep);
}
.map-scene { width: 100%; height: auto; border-radius: var(--radius-lg); }

.perimeter-line { stroke-dasharray: 7 9; animation: dash-flow 18s linear infinite; }
@keyframes dash-flow { to { stroke-dashoffset: -320; } }

.map-pulse {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(127, 160, 122, 0.7);
  z-index: 3;
  animation: pulse-ring 2.4s ease-out infinite;
}
.pulse-1 { top: 22%; right: 8%; }
.pulse-2 { bottom: 9%; left: 50%; animation-delay: 1.2s; }

.info-panel {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow);
}
.info-panel h3 { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 22px; line-height: 1.25; }
.info-panel .btn { margin-top: 8px; }

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: #3F4741;
}
.check-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ---------- Family ---------- */
.family-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.family-copy .section-sub { margin-bottom: 34px; }

.family-cards { display: flex; flex-direction: column; gap: 18px; }

.fam-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.fam-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(48, 72, 59, 0.2); }
.fam-card h3 { font-size: 1.08rem; font-weight: 800; }
.fam-card p { font-size: 0.94rem; color: #5A625C; }
.fam-card .icon-tile { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 4px; }
.fam-card .icon-tile svg { width: 23px; height: 23px; }

.family-banner {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: var(--border);
}
.family-illustration { width: 100%; height: auto; }

/* ---------- Cameras ---------- */
.cameras { background: linear-gradient(180deg, var(--beige), var(--ivory)); }

.cameras-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 44px;
  align-items: center;
}

.camera-dash { display: flex; flex-direction: column; gap: 18px; }
.cam-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.cam-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cam-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.cam-feed {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}
.cam-feed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 26, 22, 0.1), rgba(20, 26, 22, 0.35));
  pointer-events: none;
}
.feed-gate { background-image: linear-gradient(160deg, #2E3B52 0%, #55606B 45%, #5F6B5A 70%, #46523F 100%); }
.feed-driveway { background-image: linear-gradient(160deg, #1F2A38 0%, #4A5560 40%, #8A7A5C 75%, #57493A 100%); }
.feed-backyard { background-image: linear-gradient(160deg, #22382A 0%, #4A6B52 45%, #879887 75%, #BFA87E 100%); }
.feed-door { background-image: linear-gradient(160deg, #3B2E20 0%, #6B5740 45%, #8D8676 75%, #2E3B33 100%); }

.cam-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(31, 36, 33, 0.72);
  color: var(--ivory);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.14em;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #E2685F;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.cam-time {
  position: absolute;
  bottom: 10px; right: 12px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(248, 246, 241, 0.9);
  background: rgba(31, 36, 33, 0.5);
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.08em;
}

.cam-card figcaption {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  font-size: 0.9rem; font-weight: 700;
}
.cam-status { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.cam-status.ok { background: rgba(127, 160, 122, 0.16); color: #4C6B4A; }

.cam-side { background: var(--white); border: var(--border); border-radius: var(--radius-lg); padding: 42px; box-shadow: var(--shadow); }
.cam-side h3 { font-size: 1.55rem; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
.cam-side > p { color: #5A625C; margin-bottom: 18px; }
.cam-side .btn { margin-top: 10px; }

/* ---------- Entry (Doors & Windows) ---------- */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.entry-visual {
  background: linear-gradient(160deg, var(--beige), var(--ivory));
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.entry-visual svg { width: 100%; height: auto; }

.entry-status { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 34px; }

.entry-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.entry-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.entry-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #7FA07A;
  box-shadow: 0 0 0 5px rgba(127, 160, 122, 0.16);
}
.entry-name { font-weight: 700; flex: 1; }
.entry-state { font-size: 0.82rem; font-weight: 700; color: #4C6B4A; background: rgba(127, 160, 122, 0.14); padding: 4px 12px; border-radius: 999px; }

/* ---------- Speakers ---------- */
.speaker-demo {
  display: flex;
  align-items: center;
  gap: 26px;
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 44px;
  max-width: 720px;
  margin-inline: auto;
}

.speaker-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(184, 154, 99, 0.22);
  color: var(--gold-soft);
  animation: floaty 5s ease-in-out infinite;
}
.speaker-icon svg { width: 32px; height: 32px; }

.speaker-quote { position: relative; }
.quote-marks { font-size: 3rem; font-weight: 800; color: var(--gold); line-height: 0; position: absolute; top: -8px; left: -4px; }
.quote-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1.4;
  padding-left: 26px;
}

/* Automation flow */
.automation-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 132px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.flow-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.flow-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--beige);
  color: var(--forest);
}
.flow-icon svg { width: 24px; height: 24px; }
.flow-label { font-size: 0.82rem; font-weight: 700; color: #3F4741; }

.flow-arrow { color: var(--gold); display: grid; place-items: center; }
.flow-arrow svg { width: 26px; height: 26px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* ---------- Automation WHEN / THEN ---------- */
.automation { background: var(--beige); }

.when-then-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.when-then {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.when-then:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.wt-half { padding: 26px 26px 24px; }
.wt-when { background: linear-gradient(180deg, #F3EFE7, var(--ivory)); }
.wt-then { background: var(--white); }

.wt-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--gold);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.wt-then .wt-tag { background: var(--forest); }
.wt-half p { font-size: 1.04rem; font-weight: 700; line-height: 1.45; }

.wt-connector {
  position: relative;
  height: 34px;
  background: linear-gradient(180deg, var(--ivory), var(--white));
}
.wt-connector::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5px rgba(184, 154, 99, 0.18);
}
.wt-connector::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 2px dashed rgba(184, 154, 99, 0.55);
}

/* ---------- Dashboard ---------- */
.dash-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: linear-gradient(150deg, var(--forest-deep), #1B2922);
  border-radius: var(--radius-lg);
  padding: 46px;
  gap: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.dash-panel::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 154, 99, 0.22), transparent 70%);
  pointer-events: none;
}

.dash-side { display: flex; flex-direction: column; gap: 10px; position: relative; }

.dash-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(248, 246, 241, 0.05);
  border: 1px solid rgba(248, 246, 241, 0.09);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.dash-block:hover { background: rgba(248, 246, 241, 0.09); transform: translateX(4px); }

.dash-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(184, 154, 99, 0.16);
  color: var(--gold-soft);
}
.dash-icon svg { width: 22px; height: 22px; }

.dash-meta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dash-k { font-size: 0.82rem; font-weight: 700; color: var(--sage-soft); letter-spacing: 0.04em; min-width: 96px; }
.dash-v { font-size: 1.05rem; font-weight: 800; color: var(--ivory); }
.dash-v.good { color: #A8C6A0; }
.dash-unit { font-size: 0.8rem; font-weight: 600; color: var(--sage); }

.dash-map {
  position: relative;
  background: rgba(248, 246, 241, 0.04);
  border: 1px solid rgba(248, 246, 241, 0.09);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.dash-map-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-map-title { font-weight: 800; font-size: 0.92rem; color: var(--ivory); }
.dash-map-zones {
  font-size: 0.74rem; font-weight: 700; color: #A8C6A0;
  background: rgba(127, 160, 122, 0.16);
  padding: 4px 12px;
  border-radius: 999px;
}
.dash-map svg { width: 100%; height: auto; margin-top: auto; }

/* ---------- How It Works ---------- */
.how { background: var(--beige); }

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step { flex: 0 1 300px; text-align: center; padding: 0 18px; }
.step-circle {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--forest);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover .step-circle { transform: translateY(-6px) scale(1.04); box-shadow: var(--shadow-lg); }
.step h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.step p { color: #5A625C; font-size: 0.97rem; }

.step-line {
  flex: 1 1 60px;
  max-width: 110px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px);
  margin-top: 42px;
}

/* ---------- Solutions ---------- */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.solution-card {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(48, 72, 59, 0.2); }
.solution-card h3 { font-size: 1.15rem; font-weight: 800; margin: 22px 0 8px; }
.solution-card p { color: #5A625C; font-size: 0.95rem; }
.solution-card:hover .icon-tile { transform: rotate(-4deg) scale(1.06); box-shadow: var(--shadow); }

/* ---------- CTA ---------- */
.cta { padding-bottom: 110px; }

.cta-panel {
  position: relative;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 90px 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; }

.cta-panel > *:not(.cta-bg) { position: relative; z-index: 2; }

.cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ivory);
  line-height: 1.12;
  max-width: 700px;
  margin: 0 auto 18px;
}
.cta-title span { color: var(--gold-soft); }
.cta-sub { color: rgba(248, 246, 241, 0.78); font-size: 1.08rem; max-width: 520px; margin: 0 auto 36px; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--ivory); padding: 80px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 56px;
}

.brand-light .brand-icon, .brand-light .brand-name { color: var(--ivory); }
.brand-light .brand-sub { color: var(--sage-soft); }

.footer-tagline { margin: 18px 0 24px; color: var(--sage-soft); font-weight: 600; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(248, 246, 241, 0.16);
  color: var(--sage-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials a svg { width: 19px; height: 19px; }
.socials a:hover { background: var(--gold); color: var(--forest-deep); transform: translateY(-3px); border-color: var(--gold); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(248, 246, 241, 0.72); font-size: 0.95rem; transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer-col a:hover { color: var(--ivory); padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid rgba(248, 246, 241, 0.1);
  padding: 26px 0;
  text-align: center;
  color: rgba(248, 246, 241, 0.55);
  font-size: 0.86rem;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(248, 246, 241, 0.95) 35%);
  display: none;
  justify-content: center;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta .btn { width: 100%; max-width: 420px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .perimeter-grid, .cameras-grid { grid-template-columns: 1fr; }
  .entry-grid, .family-grid { grid-template-columns: 1fr; gap: 44px; }
  .when-then-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(248, 246, 241, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 24px 32px;
    border-bottom: var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: var(--border); }
  .nav-link::after { display: none; }
  .nav-actions { flex-direction: column; gap: 12px; margin-top: 22px; }
  .nav-actions .btn { width: 100%; }
  .hero { padding-bottom: 180px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: left; }
  .ind-1 { left: -6px; }
  .ind-2 { right: -4px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 0; }
  .section { padding: 84px 0; }
}

@media (max-width: 640px) {
  .section-title { font-size: 1.75rem; }
  .trust-grid, .solutions-grid { grid-template-columns: 1fr; }
  .status-card { padding: 22px 20px; margin-top: -60px; }
  .status-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .status-main { gap: 12px; }
  .status-dot { width: 46px; height: 46px; }
  .status-big { font-size: 1.25rem; }
  .indicator { padding: 7px 12px; font-size: 0.72rem; }
  .ind-3 { display: none; }
  .info-panel, .cam-side { padding: 30px 24px; }
  .speaker-demo { flex-direction: column; text-align: center; padding: 30px 24px; }
  .quote-text { padding-left: 0; font-size: 1.15rem; }
  .automation-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-step { min-width: 100%; max-width: 340px; }
  .steps { flex-direction: column; align-items: center; gap: 26px; }
  .step-line { width: 2px; height: 40px; max-width: none; margin: 0; background: repeating-linear-gradient(180deg, var(--gold) 0 10px, transparent 10px 20px); }
  .step { padding: 0; }
  .dash-panel { padding: 30px 22px; }
  .dash-block { padding: 12px 14px; gap: 12px; }
  .dash-k { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-panel { padding: 64px 22px; }
  .cam-row { grid-template-columns: 1fr; }
  .camera-dash { max-height: none; }
  .ind-4 { bottom: 8%; left: 10px; }
  .cta-buttons .btn { width: 100%; }
}

@media (max-width: 400px) {
  .ind-2 { display: none; }
}
