/* Animo Networks — site styles */
:root {
  --orange: #F26B21;
  --orange-dark: #D4560F;
  --coral: #E8453C;
  --yellow: #FFB020;
  --peach: #F4A261;
  --ink: #1F2328;
  --ink-2: #4A5058;
  --muted: #6B7280;
  --line: #ECE6E0;
  --bg: #FFFFFF;
  --cream: #FFF7F0;
  --blue: #1D6BF3;
  --blue-dark: #1452C4;
  --navy: #0B1530;
  --sky: #F2F6FF;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(31,35,40,.04), 0 8px 24px rgba(31,35,40,.06);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); }
a:hover { color: var(--coral); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 900; }
h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-dark); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 800; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sky); color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--cream); color: var(--ink); }
.nav a.active { color: var(--orange-dark); }
.nav .btn { margin-left: 8px; min-height: 44px; padding: 0 18px; }
.nav .btn:hover { background: var(--orange-dark); color: #fff; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Hero */
.hero { background: var(--cream); padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--orange); }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: .95rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 4px rgba(34,160,107,.15); }

.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; margin-left: auto; width: 100%; }
.hero-art .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(242,107,33,.22); }
.hero-art .ring.r2 { inset: 14%; border-style: solid; border-color: rgba(242,107,33,.12); }
.hero-art svg.spark { position: absolute; inset: 18%; width: 64%; height: 64%; }
.spark .node { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out infinite; }
.spark .node:nth-of-type(2) { animation-delay: .4s; }
.spark .node:nth-of-type(3) { animation-delay: .8s; }
.spark .node:nth-of-type(4) { animation-delay: 1.2s; }
.spark .node:nth-of-type(5) { animation-delay: 1.6s; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow); font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.chip svg { width: 18px; height: 18px; color: var(--orange); }
.chip.c1 { top: 6%; left: -2%; }
.chip.c2 { top: 44%; right: -6%; }
.chip.c3 { bottom: 4%; left: 8%; }

/* Split cards (two divisions) */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.division {
  border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 14px; min-height: 300px;
  text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s;
}
.division:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(31,35,40,.10); color: inherit; }
.division.it { background: var(--cream); }
.division.sp { background: var(--sky); }
.division .tag { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.division.it .tag { color: var(--orange-dark); }
.division.sp .tag { color: var(--blue); }
.division h3 { font-size: 1.7rem; font-weight: 900; margin: 0; }
.division p { color: var(--ink-2); margin: 0; }
.division .more { margin-top: auto; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.division.it .more { color: var(--orange-dark); }
.division.sp .more { color: var(--blue); }
.division .more svg { width: 18px; height: 18px; transition: transform .2s; }
.division:hover .more svg { transform: translateX(4px); }
.division .sp-logo { height: 64px; width: auto; align-self: flex-start; }

/* Service grid */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 48px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service:hover { border-color: rgba(242,107,33,.35); box-shadow: var(--shadow); transform: translateY(-2px); }
.service .icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--cream); color: var(--orange); margin-bottom: 18px;
}
.service .icon svg { width: 26px; height: 26px; }
.service p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.services.blue .service:hover { border-color: rgba(29,107,243,.35); }
.services.blue .icon { background: var(--sky); color: var(--blue); }

/* SitePilot band on home */
.band {
  background: var(--navy); color: #fff; border-radius: 32px; padding: 64px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(29,107,243,.18);
}
.band h2 { color: #fff; }
.band p { color: #C9D3E8; font-size: 1.1rem; }
.band .eyebrow { color: #7FB0FF; }
.band .products-mini { display: flex; gap: 16px; justify-content: flex-end; position: relative; z-index: 1; }
.band .products-mini img { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.band .products-mini img:nth-child(2) { transform: translateY(-24px); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; counter-reset: step; }
.step { padding: 32px; border-radius: var(--radius); background: var(--cream); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step p { color: var(--ink-2); margin: 0; }
.steps.blue .step { background: var(--sky); }
.steps.blue .step::before { background: var(--blue); }

/* Contact */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 18px; padding: 18px 20px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s;
}
.contact-card:hover { transform: translateY(-2px); color: var(--ink); }
.contact-card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--cream); color: var(--orange); display: grid; place-items: center; flex: none; }
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--muted); font-weight: 700; font-size: .85rem; }
.contact-card strong { font-size: 1.1rem; font-weight: 800; word-break: break-word; }

form.card { background: #fff; border-radius: 28px; padding: 36px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 800; font-size: .92rem; }
label .opt { font-weight: 600; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,107,33,.15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: .88rem; margin: 14px 0 0; }
.alert { border-radius: 14px; padding: 14px 16px; font-weight: 700; margin-bottom: 18px; display: none; }
.alert.show { display: block; }
.alert.ok { background: #E7F6EE; color: #13663F; }
.alert.err { background: #FDECEA; color: #A3271E; }
form.card .btn { width: 100%; }
.sp-page form.card input:focus, .sp-page form.card select:focus, .sp-page form.card textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,107,243,.15); }

/* Footer */
.site-footer { background: var(--ink); color: #B8BEC6; padding: 56px 0 32px; font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer img { height: 40px; width: auto; margin-bottom: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h4 { color: #fff; margin: 0 0 12px; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ===== SitePilot page ===== */
.sp-page .eyebrow { color: var(--blue); }
.sp-page .nav a:hover { background: var(--sky); }
.sp-page .nav a.active { color: var(--blue); }
.sp-hero { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding: 64px 0 88px; text-align: center; }
.sp-hero .sp-logo { width: 340px; max-width: 80%; margin: 0 auto 28px; }
.sp-hero h1 span { color: var(--blue); }
.sp-hero .lead { margin: 0 auto 32px; }
.sp-hero .hero-actions { justify-content: center; }
.byline { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.byline img { height: 30px; width: auto; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.product {
  background: #fff; border: 1px solid #E3E9F5; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11,21,48,.12); }
.product .art { aspect-ratio: 1; background: var(--navy); }
.product .art img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .kind { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.product h3 { font-size: 1.45rem; font-weight: 900; margin: 0; }
.product h3 small { display: block; font-size: .9rem; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.product p { color: var(--ink-2); margin: 0; }
.product ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.product li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.product li svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 4px; }
.product .cta { margin-top: auto; padding-top: 16px; }
.product .cta a { font-weight: 800; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.product .cta a svg { width: 18px; height: 18px; }
.product .cta a:hover { color: var(--blue-dark); }

.portal {
  background: var(--navy); color: #fff; border-radius: 32px; padding: 56px; display: flex; gap: 32px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.portal h2 { color: #fff; margin-bottom: .3em; }
.portal p { color: #C9D3E8; margin: 0; max-width: 560px; }

.sp-page .contact { background: var(--sky); }
.sp-page .contact-card .icon { background: var(--sky); color: var(--blue); }
.sp-page .btn-primary { background: var(--blue); }
.sp-page .btn-primary:hover { background: var(--blue-dark); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .band { grid-template-columns: 1fr; }
  .hero-art { margin: 0 auto; max-width: 360px; }
  .band { padding: 44px 32px; }
  .band .products-mini { justify-content: flex-start; }
  .products { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; border-bottom: 1px solid var(--line); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px; }
  .nav .btn { margin: 8px 0 0; }
  .brand img { height: 40px; }
  .divisions { grid-template-columns: 1fr; }
  .division { padding: 30px; min-height: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  form.card { padding: 24px; }
  .chip { font-size: .8rem; padding: 8px 10px; }
  .chip.c2 { right: 0; }
  .band .products-mini img { width: 84px; height: 84px; border-radius: 20px; }
  .portal { padding: 36px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Growth section ===== */
.growth-wrap { background: var(--sky); }
.growth { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.growth-card { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
.growth-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.growth-head .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.growth-head .icon svg { width: 28px; height: 28px; }
.growth-head h3 { font-size: 1.45rem; font-weight: 900; margin: 2px 0 0; }
.kind { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.growth-card > p { color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li strong { color: var(--ink); font-weight: 800; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checks a { color: var(--blue); font-weight: 800; }
a.art { display: block; }

/* ===== Product pages ===== */
.pp-hero { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding: 64px 0 80px; }
.pp-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: center; }
.pp-id { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pp-id img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 8px 20px rgba(11,21,48,.18); }
.pp-id span { font-weight: 800; color: var(--ink-2); }
.pp-id strong { display: block; color: var(--ink); font-size: 1.1rem; font-weight: 900; }
.pp-hero h1 span { color: var(--blue); }
.pp-hero .lead { margin-bottom: 30px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--muted); text-decoration: none; margin-bottom: 24px; font-size: .95rem; }
.crumb:hover { color: var(--blue); }
.crumb svg { width: 16px; height: 16px; }

.frame { background: #fff; border-radius: 18px; box-shadow: 0 2px 4px rgba(11,21,48,.06), 0 24px 60px rgba(11,21,48,.16); overflow: hidden; border: 1px solid #E3E9F5; }
.frame-bar { height: 38px; background: #F4F6FA; border-bottom: 1px solid #E3E9F5; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D6DCE7; display: block; }
.frame-bar .url { margin-left: 12px; flex: 1; max-width: 280px; height: 22px; border-radius: 6px; background: #fff; border: 1px solid #E3E9F5; font-size: .75rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; font-weight: 700; }
.frame img.shot { width: 100%; height: auto; display: block; }
.frame .ph { aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #1A2B57 0%, var(--navy) 70%); }
.frame .ph img { width: 26%; border-radius: 22%; box-shadow: 0 20px 50px rgba(0,0,0,.4); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; font-weight: 800; }
.gallery figcaption span { display: block; font-weight: 600; color: var(--muted); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { background: var(--sky); border-radius: 28px; padding: 40px; }
.panel h3 { font-size: 1.3rem; font-weight: 900; }

.xsell { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid #E3E9F5; border-radius: 24px; padding: 28px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.xsell:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11,21,48,.10); color: inherit; }
.xsell img { width: 84px; height: 84px; border-radius: 22px; flex: none; }
.xsell h3 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 900; }
.xsell p { margin: 0; color: var(--ink-2); }
.xsell .go { margin-left: auto; color: var(--blue); flex: none; }
.xsell .go svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .growth, .pp-grid, .split, .gallery { grid-template-columns: 1fr; }
  .growth-card, .panel { padding: 30px 24px; }
}
@media (max-width: 760px) {
  .xsell { flex-wrap: wrap; }
  .xsell .go { display: none; }
}
@media (min-width: 961px) { .services.three { grid-template-columns: repeat(3, 1fr); } }
.gallery.one { grid-template-columns: 1fr; max-width: 1080px; margin-left: auto; margin-right: auto; }
.gallery.one figcaption { text-align: center; font-size: 1.1rem; }
