/* BHS EnergySync — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root {
  --navy: #0b2d55;
  --navy2: #123a66;
  --navy3: #0a2748;
  --blue: #0789e8;
  --cyan: #18c8e8;
  --green: #62c936;
  --lime: #a6e22e;
  --white: #fff;
  --bg: #f8fbfe;
  --soft: #eef5fb;
  --soft2: #e7f3ee;
  --text: #142033;
  --muted: #5f7086;
  --line: #d4e2ef;
  --shadow: 0 16px 40px rgba(11, 45, 85, 0.08);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(7, 137, 232, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Manrope, system-ui, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, .brand-font { font-family: Sora, Manrope, sans-serif; }
a { text-decoration: none; color: inherit; transition: color 0.2s var(--ease); }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); }
.wrap { width: min(1180px, 92%); margin: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Top bar */
.top {
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.top a { color: var(--muted); }
.top a:hover { color: var(--blue); }

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.links {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}
.links > a,
.drop > summary {
  padding: 8px 4px;
  border-radius: 6px;
  list-style: none;
  cursor: pointer;
}
.links > a:hover,
.drop > summary:hover { color: var(--blue); }
.links > a.active,
.drop.active > summary {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--green);
}
.drop { position: relative; }
.drop > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
}
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary::after {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.8;
  transition: transform 0.2s;
}
.drop[open] > summary::after { transform: rotate(180deg); }
.drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
}
.drop-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.drop-panel a:hover,
.drop-panel a.active {
  background: var(--soft);
  color: var(--blue);
}
.menu {
  display: none;
  color: var(--navy);
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}
.menu[aria-expanded="true"] { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.primary {
  background: linear-gradient(135deg, var(--green), #91d92f);
  color: #071b12;
}
.primary:hover { box-shadow: 0 12px 28px rgba(98, 201, 54, 0.28); }
.outline {
  border-color: rgba(7, 137, 232, 0.45);
  color: var(--navy);
  background: transparent;
}
.outline:hover { background: rgba(7, 137, 232, 0.08); }
.ghost {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}
.ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-wa {
  background: #25d366;
  color: #fff;
}
.btn-wa:hover { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* Hero — light */
.hero {
  min-height: clamp(480px, 72vh, 640px);
  display: flex;
  align-items: center;
  color: var(--text);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(248, 251, 254, 0.94) 0%, rgba(232, 244, 252, 0.9) 48%, rgba(231, 243, 238, 0.88) 100%),
    url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=2200&q=80') center/cover;
}
.hero.hero-alt {
  background:
    linear-gradient(120deg, rgba(248, 251, 254, 0.94) 0%, rgba(232, 244, 252, 0.9) 48%, rgba(231, 243, 238, 0.88) 100%),
    url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=2200&q=80') center/cover;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px;
  border: 1px solid rgba(7, 137, 232, 0.18);
  right: -200px; top: -160px;
  animation: spin 28s linear infinite;
}
.hero::after {
  width: 340px; height: 340px;
  border: 1px solid rgba(98, 201, 54, 0.22);
  right: -40px; top: 20px;
  animation: spin 18s linear infinite reverse;
}
.hero-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(7, 137, 232, 0.05) 50%, transparent 100%),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(11, 45, 85, 0.03) 81px);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  animation: drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.ey {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 14px 0;
  max-width: 14ch;
  color: var(--navy);
}
.hero h1.wide { max-width: 18ch; }
.hero h1 span { color: var(--green); }
.hero h1 i { color: var(--blue); font-style: normal; }
.hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 26px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 8px;
}
.pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Sections */
section { padding: 84px 0; }
.soft { background: var(--soft); }
.dark {
  background: linear-gradient(180deg, var(--soft) 0%, #e8f2ea 100%);
  color: var(--text);
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 38px;
}
.kick {
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dark .kick { color: var(--blue); }
.head h2, h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.head p { max-width: 480px; color: var(--muted); }
.dark .head p { color: var(--muted); }

/* Cards / grids */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 28px rgba(6, 26, 51, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #b9d4ea;
}
.card a.more {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}
.card a.more:hover { color: var(--green); }
.ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #e7f8df, #e8f7ff);
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin-bottom: 7px; }
.card p { font-size: 14px; color: var(--muted); }
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b5f8f;
  background: #e7f4fb;
  border: 1px solid #c5e3f4;
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.badge.concept {
  color: #355a16;
  background: #eef8e4;
  border-color: #d4ebba;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.photo {
  min-height: 420px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(6, 26, 51, 0.55), rgba(6, 26, 51, 0.12)),
    url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=1300&q=80') center/cover;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.photo.photo-iot {
  background:
    linear-gradient(135deg, rgba(6, 26, 51, 0.6), rgba(6, 26, 51, 0.15)),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1300&q=80') center/cover;
}
.photo.photo-dash {
  background:
    linear-gradient(135deg, rgba(6, 26, 51, 0.55), rgba(6, 26, 51, 0.18)),
    url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1300&q=80') center/cover;
}
.copy p { color: var(--muted); margin-top: 14px; }
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.check { font-weight: 700; font-size: 14px; }
.check::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #e7f7df;
  color: #3b9c25;
  margin-right: 7px;
  font-size: 12px;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.prod {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.prod:hover {
  transform: translateY(-6px);
  border-color: #b9d4ea;
  box-shadow: var(--shadow);
}
.prodpic {
  height: 150px;
  display: grid;
  place-items: center;
  font-size: 48px;
  background:
    radial-gradient(circle at 30% 30%, rgba(24, 200, 232, 0.16), transparent 55%),
    linear-gradient(145deg, #eaf5fc, #eef8e8);
  position: relative;
}
.prodpic::after {
  content: "";
  position: absolute;
  inset: 20% 15%;
  border: 1px dashed rgba(7, 137, 232, 0.28);
  border-radius: 12px;
  animation: pulse 3s ease-in-out infinite;
}
.prodb { padding: 18px; }
.prodb h3 { font-size: 17px; color: var(--navy); }
.prodb p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.prodb .badge { margin-bottom: 8px; }

/* Dashboard / platform */
.platform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.dash {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.screen {
  background: linear-gradient(180deg, #f7fbfe, #eef6fb);
  border-radius: 15px;
  padding: 18px;
  border: 1px solid #e2edf6;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.metric {
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 11px;
}
.metric small { color: var(--muted); font-size: 12px; }
.metric strong { display: block; color: var(--navy); font-size: 20px; margin-top: 4px; }
.chart {
  height: 150px;
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
}
.chart svg { width: 100%; height: 100%; }
.chart-path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.dash.show .chart-path,
.reveal.show .chart-path { animation: draw 1.6s var(--ease) forwards; }
.nodes {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}
.node {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 4px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
}
.node.on { color: #2f8a1c; }
.node.on::before {
  content: "";
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin: 0 auto 6px;
  box-shadow: 0 0 0 0 rgba(98, 201, 54, 0.5);
  animation: ping 2s ease-out infinite;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 23px;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.step:hover {
  border-color: #b9d4ea;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step b { color: var(--blue); font-size: 12px; letter-spacing: 0.08em; }
.step h3 { color: var(--navy); margin: 7px 0; font-size: 18px; }
.step p { color: var(--muted); font-size: 13px; }

/* Architecture */
.arch {
  display: grid;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
}
.arch-row {
  display: grid;
  justify-items: center;
  gap: 0;
}
.arch-box {
  width: min(100%, 360px);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
  font-weight: 700;
  position: relative;
  box-shadow: var(--shadow);
}
.arch-box small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}
.arch-arrow {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, var(--blue), var(--green));
  position: relative;
  margin: 2px 0;
}
.arch-arrow::after {
  content: "";
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--green);
}
.arch-flow {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

/* Why / values */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.why:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.why h3 { margin: 10px 0 8px; font-size: 18px; color: var(--navy); }
.why p { color: var(--muted); font-size: 14px; }
.num {
  font-family: Sora, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
}

/* Founders / leadership */
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.founder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.founder:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.founder-photo {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center top;
  background: var(--soft);
}
.founder-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.founder-body h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 4px 0 2px;
}
.founder-role {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.founder-body p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px;
}
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.founder-tags span {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 999px;
}
.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.founder-links a {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  border: 1px solid var(--line);
  background: #fff;
  padding: 7px 11px;
  border-radius: 8px;
}
.founder-links a:hover {
  border-color: var(--blue);
  background: var(--soft);
}
.founders-home .founder {
  grid-template-columns: 140px 1fr;
}
.founders-home .founder-photo { min-height: 180px; }
.founders-home .founder-body { padding: 18px; }
.founders-home .founder-body h3 { font-size: 17px; }
.founders-home .founder-body p { font-size: 13px; margin-bottom: 10px; }

@media (max-width: 900px) {
  .founders { grid-template-columns: 1fr; }
  .founder,
  .founders-home .founder {
    grid-template-columns: 140px 1fr;
  }
}
@media (max-width: 560px) {
  .founder,
  .founders-home .founder {
    grid-template-columns: 1fr;
  }
  .founder-photo,
  .founders-home .founder-photo {
    min-height: 260px;
    max-height: 300px;
  }
}

/* CTA band */
.cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(24, 200, 232, 0.12), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(98, 201, 54, 0.12), transparent 42%),
    linear-gradient(135deg, #ffffff, #eef6fb);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(26px, 3vw, 36px); max-width: 16ch; color: var(--navy); }
.cta p { color: var(--muted); margin-top: 10px; max-width: 46ch; }
.cta .kick { color: var(--blue); }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 45px;
}
.contactbox {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.contactbox p { color: var(--muted); margin-top: 12px; }
.contactbox .kick { color: var(--blue); }
.contactbox h2 { color: var(--navy); }
.item {
  display: flex;
  gap: 12px;
  margin-top: 21px;
  align-items: flex-start;
}
.item .ico-sm {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.item b { display: block; color: var(--navy); }
.item span, .item a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}
.item a:hover { color: var(--blue); }
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 22px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
input, select, textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: var(--focus);
  outline: none;
}
textarea { min-height: 135px; resize: vertical; }
.full { grid-column: 1 / -1; }

/* Google Form embed */
.gform-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 720px;
}
.gform {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: #fff;
}

/* Footer */
footer {
  background: #fff;
  color: var(--muted);
  padding: 52px 0 22px;
  border-top: 1px solid var(--line);
}
.foot {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
}
.foot img { height: 72px; width: auto; margin-bottom: 13px; }
.foot h4 { color: var(--navy); margin-bottom: 12px; font-size: 15px; }
.foot a { display: block; font-size: 13px; margin: 7px 0; color: var(--muted); }
.foot a:hover { color: var(--blue); }
.foot p { font-size: 13px; max-width: 360px; }
.copybar {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 17px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.show { opacity: 1; transform: none; }
.delay1 { transition-delay: 0.08s; }
.delay2 { transition-delay: 0.16s; }
.delay3 { transition-delay: 0.24s; }
.hero-text {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.8s var(--ease) 0.1s forwards;
}
.float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease);
}
.float:hover { transform: scale(1.06); }
.float svg { width: 26px; height: 26px; fill: currentColor; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  50% { transform: scale(1.04); opacity: 0.75; }
}
@keyframes ping {
  70%, 100% { box-shadow: 0 0 0 10px transparent; }
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: translateX(-12px); }
  to { transform: translateX(12px); }
}

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

/* Responsive */
@media (max-width: 1024px) {
  .grid, .products { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .arch-flow { grid-template-columns: 1fr; }
}

@media (max-width: 950px) {
  .menu { display: inline-grid; }
  .links {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    padding: 16px 4%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 76px);
    overflow: auto;
    box-shadow: var(--shadow);
  }
  .links.open { display: flex; }
  .links > a,
  .drop > summary {
    padding: 12px 10px;
    width: 100%;
  }
  .links > a.active,
  .drop.active > summary {
    box-shadow: none;
    background: rgba(98, 201, 54, 0.1);
  }
  .drop-panel {
    position: static;
    min-width: 0;
    margin: 4px 0 8px;
    box-shadow: none;
  }
  .two, .platform, .contact { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
}

@media (max-width: 600px) {
  .gform-wrap,
  .gform { min-height: 840px; height: 840px; }
  .top .wrap { justify-content: center; text-align: center; }
  .logo { height: 48px; }
  .hero { min-height: 560px; }
  .hero p { font-size: 15px; }
  section { padding: 64px 0; }
  .head { display: block; }
  .head p { margin-top: 12px; }
  .grid, .products, .steps, .grid-3, .why-grid { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .cta { padding: 28px; }
  .metrics { grid-template-columns: 1fr; }
  .photo { min-height: 280px; }
}

@media (max-width: 375px) {
  .wrap { width: min(1180px, 94%); }
  .btn { width: 100%; }
  .actions { flex-direction: column; }
}
