:root {
  --ink: #0b0d12;
  --navy: #0b2a5b;
  --navy-2: #163d80;
  --red: #d7261e;
  --red-2: #b51d16;
  --gold: #c99a2e;
  --text: #1c1f26;
  --muted: #5a6170;
  --line: #e4e6eb;
  --grey: #f3f4f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); line-height: 1.65; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.2; color: var(--ink); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 4px; font-family: inherit; font-weight: 600; font-size: .92rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-outline { background: #fff; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: .86rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* Top bar */
.topbar { background: var(--ink); color: #b9bfcc; font-size: .78rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.topbar nav { display: flex; gap: 22px; white-space: nowrap; }
.topbar a, .topbar .link-btn { color: #d9dde6; text-decoration: none; }
.topbar a:hover, .topbar .link-btn:hover { color: #fff; text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { height: 54px; width: auto; object-fit: contain; }
.footer-bottom .brand img { height: 42px; }
.brand-text b { display: block; font-size: 1.16rem; color: var(--ink); line-height: 1.1; }
.brand-text em { font-style: normal; color: var(--red); }
.brand-text small { display: block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font-family: inherit; font-weight: 500; font-size: .93rem; color: var(--text); padding: 10px 12px; cursor: pointer; text-decoration: none; }
.nav-link:hover { color: var(--red); }
.chev { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 14px 34px rgba(0,0,0,.12); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.dropdown a { display: block; padding: 8px 18px; text-decoration: none; font-size: .9rem; color: var(--text); }
.dropdown a:hover { background: var(--grey); color: var(--red); }
.dropdown-wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 470px; padding: 14px 6px; }
.dropdown-title { margin: 0 0 4px; padding: 0 18px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-phone { font-weight: 700; color: var(--ink); text-decoration: none; margin: 0 10px 0 14px; white-space: nowrap; }
.nav-phone:hover { color: var(--red); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero: photo slideshow */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; min-height: min(78vh, 640px); display: flex; align-items: center; padding: 90px 0 110px; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -3; }
.hero-slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease, filter 1.4s ease; filter: saturate(1.1) blur(6px); }
.hero-slide.is-active { opacity: 1; filter: saturate(1.1) blur(0); animation: kenburns 9s ease-out forwards; }
.hero-slide:nth-child(even).is-active { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.14) translate(1.5%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes kenburns-alt { from { transform: scale(1.02) translate(-1%, 0); } to { transform: scale(1.14) translate(1.5%, -1%); } }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8,10,16,.94) 0%, rgba(8,10,16,.82) 38%, rgba(8,10,16,.35) 70%, rgba(8,10,16,.15) 100%), linear-gradient(0deg, rgba(8,10,16,.7) 0%, transparent 35%); }
.hero-inner { position: relative; z-index: 1; }
.hero-inner > * { max-width: 640px; }
.hero-inner > h1 { max-width: 760px; }
.hero-kicker { margin: 0 0 14px; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #ff8a84; font-weight: 600; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -.015em; margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero .accent { color: #ff5a4f; }
.hero .lead { color: #dfe3ea; font-size: 1.1rem; margin: 0 0 32px; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-caption { margin: 34px 0 0; min-height: 34px; }
.hero-caption span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); font-size: .86rem; font-weight: 500; }
.hero-caption span::before { content: '✦'; color: #ffd27a; }
.hero-caption span.in { animation: capIn .7s cubic-bezier(.2,.8,.2,1); }
@keyframes capIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-controls { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; }
.hero-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button[aria-selected="true"] { width: 28px; background: var(--red); }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); z-index: 2; }
.hero-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), #ffd27a); }
.hero-progress i.run { animation: progress var(--slide-time, 6s) linear forwards; }
@keyframes progress { to { width: 100%; } }
@media (max-width: 820px) {
  .hero-shade { background: linear-gradient(0deg, rgba(8,10,16,.95) 0%, rgba(8,10,16,.75) 55%, rgba(8,10,16,.45) 100%); }
  .hero { min-height: 0; padding: 70px 0 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; transform: none; }
  .hero-caption span.in { animation: none; }
}

/* Software strip */
.strip { background: var(--grey); border-bottom: 1px solid var(--line); }
.strip-row { display: flex; align-items: center; gap: 30px; padding: 22px 0; }
.strip-label { flex: none; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-grey { background: var(--grey); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); font-size: 1.04rem; margin: 0; }
.rule { width: 90px; border: 0; border-top: 3px solid var(--red); margin: 28px auto 0; }
.sub-head { text-align: center; font-size: 1.55rem; font-weight: 700; margin: 0 0 36px; }
.card-grid { display: grid; gap: 34px; }
.sub-head + .card-grid { margin-bottom: 80px; }
.card-grid:last-child { margin-bottom: 0; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.feature, .plain { display: flex; flex-direction: column; align-items: flex-start; }
.feature h4, .plain h4 { font-size: 1.06rem; font-weight: 700; }
.feature p, .plain p { color: var(--muted); font-size: .93rem; flex: 1; margin: 0 0 20px; }
.f-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 10px; background: rgba(215,38,30,.08); }
.f-icon svg, .banner-icon { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plain { border-top: 3px solid var(--line); padding-top: 22px; transition: border-color .2s; }
.plain:hover { border-top-color: var(--red); }

/* Software showcase */
.showcase { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; margin-bottom: 70px; }
.showcase:last-child { margin-bottom: 0; }
.show-visual { grid-column: 1 / 2; grid-row: 1; height: 360px; border-radius: 6px; display: grid; place-items: center; overflow: hidden; }
.show-card { grid-column: 2 / 3; grid-row: 1; margin-left: -90px; background: #fff; padding: 34px 34px 30px; box-shadow: 0 18px 50px rgba(11,13,18,.12); border-radius: 6px; position: relative; }
.showcase.reverse { grid-template-columns: 1fr 1.35fr; }
.showcase.reverse .show-visual { grid-column: 2 / 3; }
.showcase.reverse .show-card { grid-column: 1 / 2; margin-left: 0; margin-right: -90px; text-align: right; }
.showcase.reverse .show-card .btn { margin-left: auto; }
.show-card h3 { font-size: 1.4rem; font-weight: 800; }
.show-card p { color: var(--muted); font-size: .94rem; margin: 0 0 22px; }
.show-card .btn { display: flex; width: fit-content; }
.v-navy { background: linear-gradient(135deg, var(--navy) 0%, #071a3a 100%); }
.v-red { background: linear-gradient(135deg, #8f140f 0%, #3c0806 100%); }
.v-gold { background: linear-gradient(135deg, #8a6514 0%, #3b2a06 100%); }
.mock { width: 64%; aspect-ratio: 16 / 10; background: #fff; border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.mock-bar { height: 12px; width: 45%; border-radius: 4px; background: #e5e7eb; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-row i { height: 34px; border-radius: 6px; background: #f1f3f7; border-left: 3px solid var(--red); }
.mock-chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; padding: 6px 4px 0; border-bottom: 2px solid #e5e7eb; }
.mock-chart b { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--navy-2), var(--navy)); }
.mock-lines { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.mock-lines i { height: 9px; border-radius: 4px; background: #eceef3; }
.mock-lines i:nth-child(2) { width: 80%; }
.mock-lines i:nth-child(3) { width: 90%; }
.mock-lines i:nth-child(4) { width: 60%; }

/* Guides */
.guide { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 22px; box-shadow: 0 8px 24px rgba(11,13,18,.05); }
.tag { display: inline-block; background: var(--navy); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; margin-bottom: 14px; }
.guide h4 { font-size: 1.02rem; font-weight: 700; }
.guide p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Banner */
.banner { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #dfe6f3; padding: 80px 0; }
.banner .banner-icon { stroke: #fff; width: 34px; height: 34px; margin-bottom: 14px; }
.banner-kicker { margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.banner h2 { color: #fff; max-width: 720px; }
.banner p:not(.banner-kicker) { max-width: 680px; margin: 0 0 28px; }

/* About */
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 6px; background: #2b2f36; }
.about-grid p { color: var(--muted); }
blockquote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-size: 1.16rem; font-style: italic; color: var(--ink); }
blockquote cite { display: block; margin-top: 8px; font-size: .86rem; font-style: normal; font-weight: 600; color: var(--muted); }
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vmv div { background: var(--grey); border-radius: 6px; padding: 16px; }
.vmv b { display: block; color: var(--navy); margin-bottom: 4px; }
.vmv span { font-size: .88rem; color: var(--muted); }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.why-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.why-list li { padding-left: 38px; position: relative; }
.why-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--red) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.why-list b { display: block; color: var(--ink); }
.why-list span { color: var(--muted); font-size: .93rem; }
.why-photo { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 50px rgba(11,13,18,.15); }
.why-photo figcaption { background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 600; font-size: .9rem; letter-spacing: .04em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-grid > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 16px; }
.contact-list li { border-left: 3px solid var(--red); padding-left: 16px; }
.c-label { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { color: var(--red); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { border-radius: 6px; overflow: hidden; min-height: 400px; background: var(--grey); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #9ea5b4; padding: 64px 0 0; font-size: .88rem; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cols h5 { color: #fff; font-size: .9rem; margin-bottom: 14px; }
.footer-cols a, .footer-cols span { display: block; color: #b6bcc8; text-decoration: none; margin: 7px 0; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 30px; flex-wrap: wrap; }
.footer-bottom .brand-text b { color: #fff; }
.footer-bottom p { margin: 0; font-size: .78rem; max-width: 720px; }

/* Tablet */
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.08); display: none; max-height: calc(100vh - 110px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .nav-link { width: 100%; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .dropdown, .dropdown-wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px 12px; min-width: 0; display: none; grid-template-columns: 1fr; }
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: none; }
  .nav-item.open .dropdown { display: block; }
  .nav-phone { margin: 14px 0 6px; }
  .site-nav .btn { margin-top: 8px; }
  .card-grid.four, .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

/* Phone */
@media (max-width: 820px) {
  .topbar-row > span { display: none; }
  .topbar nav { width: 100%; justify-content: space-between; gap: 10px; }
  .showcase, .showcase.reverse { grid-template-columns: 1fr; }
  .show-visual, .showcase.reverse .show-visual { grid-column: 1; grid-row: 1; height: 240px; }
  .show-card, .showcase.reverse .show-card { grid-column: 1; grid-row: 2; margin: -50px 16px 0; text-align: left; }
  .showcase.reverse .show-card .btn { margin-left: 0; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 340px; }
  .vmv { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero h1 br, .banner h2 br { display: none; }
  .card-grid.four, .card-grid.three { grid-template-columns: 1fr; }
  .strip-row { flex-direction: column; gap: 12px; }
  .marquee { width: 100%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .brand-text small { display: none; }
  .topbar { font-size: .72rem; }
  .hide-sm { display: none; }
}

/* Metam CRM feature */
.crm-feature { background: radial-gradient(ellipse at 90% 10%, #1d2a48 0%, transparent 55%), var(--ink); color: #c9cfdb; }
.crm-feature h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.crm-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.badge { display: inline-block; background: var(--red); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 3px; margin-bottom: 18px; }
.crm-lead { font-size: 1.1rem; color: #e1e5ee; margin: 0 0 26px; }
.crm-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.crm-points li { padding-left: 34px; position: relative; }
.crm-points li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--red) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }
.crm-points b { display: block; color: #fff; }
.crm-points span { font-size: .92rem; }
.crm-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.crm-window { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.15); }
.crm-top { display: flex; align-items: center; gap: 6px; background: #eef0f4; padding: 10px 14px; }
.crm-top i { width: 10px; height: 10px; border-radius: 50%; background: #cfd3db; }
.crm-top i:first-child { background: var(--red); }
.crm-top span { margin-left: 10px; font-size: .8rem; font-weight: 700; color: var(--navy); }
.crm-body { display: grid; grid-template-columns: 56px 1fr; min-height: 300px; }
.crm-side { background: var(--navy); padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.crm-side b { height: 10px; border-radius: 4px; background: rgba(255,255,255,.25); }
.crm-side b:first-child { background: var(--red); }
.crm-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.crm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.crm-stats div { background: #f4f6fa; border-radius: 8px; padding: 10px 12px; border-top: 3px solid var(--navy); }
.crm-stats div:first-child { border-top-color: var(--red); }
.crm-stats small { display: block; font-size: .66rem; color: var(--muted); }
.crm-stats strong { font-size: 1.35rem; color: var(--ink); }
.crm-table { display: grid; gap: 8px; }
.crm-table p { margin: 0; display: grid; grid-template-columns: 10px 1fr 60px auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #eceef3; border-radius: 6px; }
.crm-table em { height: 8px; border-radius: 4px; background: #e3e6ec; }
.crm-table em.short { width: 100%; background: #eef0f4; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa3b5; }
.dot.hot { background: var(--red); }
.chip { font-size: .64rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(215,38,30,.1); color: var(--red); white-space: nowrap; }
.chip-blue { background: rgba(11,42,91,.1); color: var(--navy); }
.crm-note { margin: 10px 0 0; font-size: .72rem; color: #7d8597; text-align: right; }
.pill { display: inline-block; margin-left: 6px; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--red); color: #fff; padding: 2px 6px; border-radius: 999px; vertical-align: middle; }
.dd-featured { font-weight: 600; white-space: nowrap; }
@media (max-width: 820px) {
  .crm-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Product strip: coloured names that keep scrolling */
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.wordmark { display: inline-flex; align-items: center; font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; padding: 6px 0; animation: bob 3s ease-in-out infinite; }
.wordmark::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #000; margin: 0 34px; }
.wordmark:nth-child(2) { animation-delay: -.5s; }
.wordmark:nth-child(3) { animation-delay: -1s; }
.wordmark:nth-child(4) { animation-delay: -1.5s; }
.wordmark:nth-child(5) { animation-delay: -2s; }
.wordmark:nth-child(6) { animation-delay: -2.5s; }
.w-metam  { background: linear-gradient(90deg, #d7261e, #ff7a1a); }
.w-tally  { background: linear-gradient(90deg, #1d4ed8, #0ea5e9); }
.w-wings  { background: linear-gradient(90deg, #059669, #22c55e); }
.w-marg   { background: linear-gradient(90deg, #ea580c, #f59e0b); }
.w-busy   { background: linear-gradient(90deg, #7c3aed, #db2777); }
.w-vyapar { background: linear-gradient(90deg, #0d9488, #2563eb); }
.w-metam, .w-tally, .w-wings, .w-marg, .w-busy, .w-vyapar { -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .wordmark { animation: none; }
}

/* Boost Your Sale */
.boost { margin-top: 80px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; background: linear-gradient(135deg, #3c0806 0%, var(--ink) 55%, #0b1f45 100%); color: #d6dbe5; border-radius: 10px; padding: 56px; position: relative; overflow: hidden; }
.boost::after { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(215,38,30,.35), transparent 70%); pointer-events: none; }
.boost h3 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; }
.boost-lead { font-size: 1.04rem; color: #e3e7ef; margin: 0 0 24px; }
.boost-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.boost-points li { border-left: 3px solid var(--red); padding-left: 14px; }
.boost-points b { display: block; color: #fff; }
.boost-points span { font-size: .88rem; }
.boost-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.boost-visual { position: relative; display: grid; gap: 16px; z-index: 1; }
.boost-card { background: #fff; border-radius: 10px; padding: 14px 16px 12px; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto 70px; gap: 6px 8px; align-items: end; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.boost-card small { grid-column: 1 / 5; font-size: .74rem; font-weight: 600; color: var(--muted); align-self: start; }
.boost-card strong { grid-column: 5; justify-self: end; align-self: start; color: #16a34a; font-size: .9rem; }
.boost-card i { height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--red), #ff8a4c); }
.boost-card.c2 i { background: linear-gradient(180deg, var(--navy-2), #3b82f6); }
.boost-card.c3 i { background: linear-gradient(180deg, #059669, #34d399); }
.boost-card.c2 { margin-left: 40px; }
.boost-card.c3 { margin-right: 40px; }
.boost-note { margin: 0; font-size: .72rem; color: #8a93a6; text-align: right; }
@media (max-width: 960px) {
  .boost { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 560px) {
  .boost-points { grid-template-columns: 1fr; }
  .boost-card.c2, .boost-card.c3 { margin: 0; }
}

/* Icons inside buttons, WhatsApp button */
.btn .ico { width: 18px; height: 18px; flex: none; margin-right: 8px; }
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-whatsapp:hover { background: #178a45; }

/* Software strip: colour glow that drifts, a light sweep and twinkling sparkles */
.strip { position: relative; overflow: hidden; isolation: isolate; background: #eef1f7; }
.strip-row { position: relative; z-index: 2; }
.strip::before {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: 0; width: 200%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(18% 70% at 10% 50%, rgba(215,38,30,.32), transparent 70%),
    radial-gradient(18% 70% at 30% 50%, rgba(37,99,235,.32), transparent 70%),
    radial-gradient(18% 70% at 50% 50%, rgba(22,163,74,.28), transparent 70%),
    radial-gradient(18% 70% at 70% 50%, rgba(234,88,12,.3), transparent 70%),
    radial-gradient(18% 70% at 90% 50%, rgba(124,58,237,.28), transparent 70%);
  animation: stripGlow 9s ease-in-out infinite alternate;
}
.strip::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(105deg, transparent 40%, rgba(255,255,255,.85) 50%, transparent 60%) no-repeat,
    radial-gradient(circle, #fff 0 2px, rgba(255,255,255,0) 3.5px) 0 0 / 140px 46px,
    radial-gradient(circle, rgba(37,99,235,.7) 0 1.6px, transparent 3px) 70px 23px / 140px 46px;
  background-size: 35% 100%, 140px 46px, 140px 46px;
  animation: stripSweep 4.5s ease-in-out infinite, stripTwinkle 2.4s ease-in-out infinite;
}
@keyframes stripGlow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes stripSweep { 0% { background-position: -60% 0, 0 0, 70px 23px; } 70%, 100% { background-position: 160% 0, 0 0, 70px 23px; } }
@keyframes stripTwinkle { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .strip::before, .strip::after { animation: none; } }

/* Banner text: smaller, kept to the left, sitting lower on the photo */
.hero { align-items: flex-end; padding: 120px 0 34px; }
.hero-controls { left: auto; right: max(20px, calc((100% - 1180px) / 2)); transform: none; bottom: 30px; }
.hero-inner > * { max-width: 480px; }
.hero-inner > h1 { max-width: 540px; }
.hero-kicker { font-size: .72rem; margin-bottom: 10px; }
.hero h1 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); margin-bottom: 14px; }
.hero .lead { font-size: .98rem; margin-bottom: 22px; }
.hero-actions .btn { padding: 10px 20px; font-size: .88rem; }
.hero-caption { margin-top: 20px; }
.hero-caption span { font-size: .8rem; padding: 6px 12px; }
@media (max-width: 760px) {
  .hero { padding: 150px 0 84px; }
  .hero-controls { left: 50%; right: auto; transform: translateX(-50%); bottom: 22px; }
}

/* Banner height cut by one-seventh (was 78vh / 640px max) */
.hero { min-height: min(67vh, 549px); padding-top: 100px; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 96px; }
}

/* Metam ERP */
.w-metam-erp { background: linear-gradient(90deg, #0b2a5b, #d7261e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark:nth-child(7) { animation-delay: -3s; }
.pill-navy { background: var(--navy); }
.badge-navy { background: var(--navy); border: 1px solid rgba(255,255,255,.25); }
.erp-feature { background: radial-gradient(ellipse at 10% 10%, #3a1414 0%, transparent 55%), radial-gradient(ellipse at 90% 90%, #1d2a48 0%, transparent 55%), var(--ink); }
.erp-feature + .crm-feature { border-top: 1px solid rgba(255,255,255,.08); }
.show-card .badge { margin-bottom: 12px; }


/* Floating shloka band under the header */
.shloka-band { position: relative; overflow: hidden; height: 36px; display: flex; align-items: center; border-top: 1px solid #f1dfb8;
  background: linear-gradient(90deg, #fff8ea, #ffefcf 25%, #fff6e3 50%, #ffeccc 75%, #fff8ea); background-size: 200% 100%; animation: bandSheen 12s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.shloka-band::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%) no-repeat; background-size: 30% 100%; animation: bandShine 6s ease-in-out infinite; }
.shloka-track { display: flex; width: max-content; animation: shlokaMove 40s linear infinite; }
.shloka-band:hover .shloka-track { animation-play-state: paused; }
.shloka-set { display: flex; align-items: center; }
.shloka-line { display: inline-block; padding: 0 18px; font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  background: linear-gradient(90deg, #b45309, #e8590c, #d7261e, #c2410c, #d4a017, #b45309); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.8));
  animation: shlokaFloat 3.4s ease-in-out infinite, shlokaShimmer 6s linear infinite; animation-delay: calc(var(--i) * -0.8s), calc(var(--i) * -1.5s); }
.diya { width: 22px; height: 22px; flex: none; overflow: visible; }
.diya .bowl { fill: #c2410c; }
.diya .rim { stroke: #f59e0b; stroke-width: 1.6; stroke-linecap: round; }
.diya .flame { fill: #fbbf24; transform-origin: 16px 17px; animation: flameFlicker 1.1s ease-in-out infinite alternate; filter: drop-shadow(0 0 3px rgba(251,191,36,.9)); }
.diya .flame-core { fill: #fff7d1; transform-origin: 16px 15px; animation: flameFlicker 0.8s ease-in-out infinite alternate-reverse; }
@keyframes shlokaMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shlokaFloat { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-2px); } }
@keyframes shlokaShimmer { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
@keyframes flameFlicker { 0% { transform: scale(1, 1) rotate(-2deg); opacity: .9; } 100% { transform: scale(.92, 1.08) rotate(2deg); opacity: 1; } }
@keyframes bandSheen { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@keyframes bandShine { 0% { background-position: -40% 0; } 60%, 100% { background-position: 140% 0; } }
@media (max-width: 960px) {
  .site-nav { top: 100%; }
  .shloka-band { height: 32px; }
  .shloka-line { font-size: .9rem; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .shloka-band, .shloka-band::after, .shloka-track, .shloka-line, .diya .flame, .diya .flame-core { animation: none; }
}


/* The shloka band sits inside the header row, between the logo and the menu */
.header-row .shloka-band { flex: 1 1 auto; min-width: 0; height: 40px; margin: 0 6px; border: 1px solid #f1dfb8; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 2px 10px rgba(212,160,23,.15); }
@media (max-width: 960px) {
  .header-row .shloka-band { height: 34px; margin: 0 2px; }
  .header-row { gap: 10px; }
}
@media (max-width: 420px) {
  .brand-text b { font-size: 1rem; }
  .shloka-line { font-size: .82rem; padding: 0 10px; }
  .diya { width: 18px; height: 18px; }
}
.header-row .brand { flex: none; }
.brand-text b, .brand-text small { white-space: nowrap; }
@media (min-width: 961px) { .header-row .site-nav { flex: none; } }
/* Phones: the shloka gets its own full-width line under the logo */
@media (max-width: 760px) {
  .header-row { flex-wrap: wrap; height: auto; padding: 8px 0; row-gap: 6px; }
  .header-row .shloka-band { order: 3; flex: 1 1 100%; margin: 0; }
}
/* All screens: the shloka gets its own full-width line under the logo and menu, so the whole verse shows */
.header-row { flex-wrap: wrap; height: auto; min-height: 74px; padding: 8px 0 10px; row-gap: 6px; }
.header-row .shloka-band { order: 3; flex: 1 1 100%; margin: 0; height: 38px; }
.shloka-line { font-size: 1.05rem; padding: 0 26px; }
@media (max-width: 760px) {
  .header-row .shloka-band { height: 34px; }
  .shloka-line { font-size: .9rem; padding: 0 14px; }
}


/* Metam CRM Login button, next to Free demo */
.btn-crm { background: linear-gradient(135deg, #0b1f4d, #1e3a8a); color: #fff; border-color: #d4a017; box-shadow: 0 4px 14px rgba(11,31,77,.25); }
.btn-crm:hover { background: linear-gradient(135deg, #12286a, #2547a8); color: #fff; }
.btn-crm .ico { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: #f5c84c; }
.site-nav .btn-crm { margin-left: 8px; }
@media (max-width: 960px) { .site-nav .btn-crm { margin: 8px 0 0; } }

/* Banner text at the left edge of the banner, not inside the centred page column */
.hero .hero-inner { width: 100%; max-width: none; margin: 0; padding-inline: clamp(20px, 3.5vw, 56px); }
.hero-inner > .hero-actions { max-width: none; }
.hero-controls { right: clamp(20px, 3.5vw, 56px); }
@media (max-width: 760px) { .hero-controls { right: auto; } }

/* Top bar and header use the full width, lined up with the banner text */
.topbar > .wrap, .site-header > .wrap { width: 100%; max-width: none; margin: 0; padding-inline: clamp(20px, 3.5vw, 56px); }

/* Every section uses the full screen width, with the same side margin as the header and banner */
.wrap { width: 100%; max-width: 1920px; margin-inline: auto; padding-inline: clamp(20px, 3.5vw, 56px); box-sizing: border-box; }
