/* Shared components for the multi page site. Tokens come from site.css. */

/* nav: current page */
.nav a[aria-current="page"]:not(.btn) { color: var(--green); background: var(--mint); }
.center-cta { text-align: center; margin-top: 40px; }
.footer-cta { margin-top: 18px; padding: 11px 20px; font-size: 14.5px; color: var(--white); }
.site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; }

/* hero: three core platforms, equal weight */
.hero-core { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-core span {
  display: inline-flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .88); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow);
}
.hero-core img { height: 19px; width: auto; }
.hero-core span { gap: 9px; }
.hero-core small { font-size: 12.5px; font-weight: 700; color: var(--grey); white-space: nowrap; }

/* page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--mint) 0%, var(--white) 100%); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 64px); letter-spacing: -.02em; margin: 14px 0 18px; }
.page-hero .lead { font-size: 19px; }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-hero-media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 4 / 3; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media .tag, .ex-card .tag, .sol-card .tag { left: 14px; bottom: 14px; right: auto; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--green); text-decoration: none; background: var(--white); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.crumb svg { width: 16px; height: 16px; }
.crumb:hover { border-color: var(--lime); }

/* sub tabs across solution pages */
.subtabs { position: sticky; top: 76px; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subtabs .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: thin; }
.subtabs a { flex: none; font-size: 14px; font-weight: 700; color: var(--grey); text-decoration: none; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.subtabs a:hover { background: var(--mint); color: var(--green); }
.subtabs a[aria-current="page"] { background: var(--green); color: var(--white); }

/* features, examples, kit */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { display: grid; grid-template-columns: 52px 1fr; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feat h3 { font-size: 17px; margin-bottom: 6px; }
.feat p { color: var(--grey); font-size: 15px; }
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ex-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ex-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.ex-card .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ex-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.ex-card .body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.ex-card .body p { color: var(--grey); font-size: 15px; }
.kit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ticks.plain li { grid-template-columns: 22px 1fr; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
a.pill { text-decoration: none; transition: border-color .2s, color .2s; }
a.pill:hover { border-color: var(--lime); color: var(--green); }
.next-sol { padding: 0 0 96px; }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.next-card { display: grid; gap: 6px; text-decoration: none; color: var(--ink); background: var(--mint); border-radius: var(--radius); padding: 24px 26px; transition: background .25s, transform .25s var(--ease); }
.next-card:hover { background: var(--mint-2); transform: translateY(-3px); }
.next-card span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: .08em; text-transform: uppercase; }
.next-card span svg { width: 16px; height: 16px; }
.next-card b { font-size: 20px; }
.next-card.right { text-align: right; }
.next-card.right span { justify-content: flex-end; }

/* solution cards are links */
a.card { text-decoration: none; color: var(--ink); }
.sol-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--green); margin-top: 6px; }
.sol-card .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sol-card:hover .more svg { transform: translateX(4px); }

/* brand tiles and brand pages */
.brand-grid-core { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.brand-grid-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 34px; }
.brand-tile { display: grid; gap: 8px; text-decoration: none; color: var(--ink); text-align: center; }
.brand-tile .logo-box { display: grid; place-items: center; height: 96px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.brand-grid-core .logo-box { height: 120px; }
.brand-tile:hover .logo-box { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--lime); }
.brand-tile img { max-height: 42px; max-width: 80%; width: auto; object-fit: contain; }
.brand-grid-core .brand-tile img { max-height: 46px; }
.brand-tile .word { font-weight: 700; font-size: 19px; letter-spacing: .03em; }
.brand-tile .tier { font-size: 12.5px; color: var(--grey); }
.brand-tile .tier.plat { color: var(--green); font-weight: 700; }
.brand-hero .brand-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.brand-logo { display: grid; width: max-content; max-width: 100%; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px 30px; margin-top: 22px; box-shadow: var(--shadow); min-width: 220px; min-height: 100px; }
.brand-logo img { max-height: 56px; max-width: 260px; }
.brand-logo .word { font-size: 30px; font-weight: 700; }
.tier-badge { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--white); background: var(--green); border-radius: 999px; padding: 6px 14px; }
.logo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.logo-mini { display: grid; place-items: center; height: 70px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; text-decoration: none; transition: border-color .2s, transform .2s; }
.logo-mini:hover, .logo-mini.on { border-color: var(--lime); transform: translateY(-2px); }
.logo-mini img { max-height: 30px; max-width: 90%; }
.logo-mini .word { font-size: 14px; font-weight: 700; }
.spotlight { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; background: var(--mint); border-radius: 28px; padding: 40px; margin-top: 12px; }

/* AV x AI mock ups */
.ai-demos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 28px; }
.mock { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lift); overflow: hidden; display: flex; flex-direction: column; }
.mock figcaption { font-weight: 700; font-size: 14px; color: var(--green); padding: 12px 18px 16px; border-top: 1px solid var(--line); margin-top: auto; }
.mock-top { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--grey); padding: 12px 16px; background: var(--mint); }
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #d7decf; }
.dots i:first-child { background: var(--lime); }
.chat { padding: 16px; display: grid; gap: 10px; min-height: 280px; align-content: start; }
.msg { font-size: 14px; line-height: 1.45; padding: 10px 13px; border-radius: 14px; max-width: 88%; }
.msg.me { justify-self: end; background: var(--green); color: var(--white); border-bottom-right-radius: 4px; }
.msg.ai { justify-self: start; background: var(--mint); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.typing { display: inline-flex; gap: 4px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: typ 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 50% { opacity: .2; transform: translateY(-3px); } }
.chat .msg { animation: feedin .4s var(--ease); }
.mock-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 16px 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--dim); }
.mock-input svg { width: 18px; height: 18px; color: var(--green); }
@keyframes feedin { from { opacity: 0; transform: translateY(-6px); } }
.rec-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 13px; color: var(--grey); border-bottom: 1px solid var(--line); }
.rec-bar b { color: var(--ink); font-variant-numeric: tabular-nums; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #e0452c; animation: blink 1.2s infinite; }
.wavebars { display: flex; align-items: center; gap: 3px; margin-left: auto; height: 26px; }
.wavebars i { width: 3px; height: 30%; border-radius: 2px; background: var(--lime); animation: wv 1.1s ease-in-out infinite; }
.wavebars i:nth-child(3n) { animation-delay: -.3s; } .wavebars i:nth-child(3n+1) { animation-delay: -.6s; } .wavebars i:nth-child(4n) { animation-delay: -.8s; }
@keyframes wv { 50% { height: 100%; } }
.transcript { padding: 14px 16px; display: grid; gap: 10px; font-size: 13.5px; color: var(--grey); }
.transcript p { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.transcript b { color: var(--green); font-size: 12.5px; }
.transcript time { font-size: 11.5px; color: var(--dim); text-align: right; }
.transcript p { grid-template-areas: "who when" "said said"; }
.transcript b { grid-area: who; } .transcript time { grid-area: when; }
.transcript p > :not(b):not(time) { grid-area: said; }
.summary { margin: 0 16px 14px; background: var(--mint); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; }
.summary .group-label { margin-bottom: 6px; display: block; }
.summary ul { margin: 0; padding-left: 18px; color: var(--ink); }
.doc { padding: 16px; display: grid; gap: 14px; }
.doc-file { display: flex; gap: 12px; align-items: center; background: var(--mint); border-radius: 12px; padding: 12px 14px; }
.doc-file svg { width: 30px; height: 30px; color: var(--green); flex: none; }
.doc-file b { display: block; font-size: 14px; }
.doc-file span { font-size: 12.5px; color: var(--grey); }
.doc-out ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.doc-out li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.doc-out b { color: var(--green); }
.doc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-chips { grid-template-columns: repeat(3, 1fr); }

/* build teaser (home) */
.build-teaser { display: grid; gap: 16px; }
.bt-card { background: var(--white); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lift); }
.bt-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bt-options span { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 700; color: var(--grey); padding: 12px 6px; border: 2px solid var(--line); border-radius: 14px; }
.bt-options span svg { width: 24px; height: 24px; color: var(--green); }
.bt-options.small span { padding: 9px 6px; }
.bt-options span.on { border-color: var(--lime); background: var(--mint); color: var(--green); }
.bt-plan { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; }
.bt-pop circle { transform-box: fill-box; transform-origin: center; animation: pop 2.4s var(--ease) infinite; }
.bt-pop circle:nth-child(2) { animation-delay: .4s; } .bt-pop circle:nth-child(3) { animation-delay: .8s; }
@keyframes pop { 0%, 100% { transform: scale(.7); opacity: .6; } 40% { transform: scale(1.15); opacity: 1; } }

/* projects: diagonal moving rows */
.diag { position: relative; overflow: hidden; padding: 70px 0; margin: -10px 0 10px; }
.diag-inner { transform: rotate(-6deg); display: grid; gap: 20px; width: 130%; margin-left: -15%; }
.diag-row { overflow: visible; }
.diag-row .track { display: flex; gap: 20px; width: max-content; animation: marquee 80s linear infinite; }
.diag-row.r2 .track { animation-direction: reverse; animation-duration: 90s; }
.diag-row.r3 .track { animation-duration: 100s; }
.diag:hover .track { animation-play-state: paused; }
.pj { position: relative; flex: none; width: 320px; height: 210px; border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.pj:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lift); z-index: 2; }
.pj img { width: 100%; height: 100%; object-fit: cover; }
.pj .cap { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); border-radius: 12px; padding: 10px 14px; }
.pj .cap b { display: block; font-size: 15px; }
.pj .cap span { font-size: 13px; color: var(--grey); }
.pj.text { background: var(--mint); display: grid; align-content: space-between; padding: 22px; }
.pj.text .icon { background: var(--white); }
.pj.text b { font-size: 18px; display: block; margin-bottom: 6px; }
.pj.text span { color: var(--grey); font-size: 14.5px; }
.pj.text.green { background: var(--green); color: var(--white); }
.pj.text.green span { color: #DCFCE7; }
.pj.text.green .icon { background: rgba(255, 255, 255, .16); color: var(--white); }

/* about */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-cards .stat { display: grid; gap: 6px; }
.about-cards .stat b { font-size: 19px; }
.about-cards .stat .icon { margin-bottom: 6px; }
.vv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vv { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.vv h3 { font-size: 19px; }
.vv p { color: var(--grey); font-size: 15.5px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.person .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--mint-2); color: var(--green); display: grid; place-items: center; font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.person.lead { grid-column: span 2; background: var(--green); color: var(--white); border-color: var(--green); }
.person.lead .avatar { background: rgba(255, 255, 255, .18); color: var(--white); }
.person.lead p { color: #DCFCE7; }
.person b { font-size: 18px; }
.person span { font-size: 14px; color: var(--green); font-weight: 700; }
.person.lead span { color: #BBF7D0; }
.person p { color: var(--grey); font-size: 15px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: var(--mint-2); border-radius: 2px; }
.timeline li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); }
.timeline li::before { content: ""; position: absolute; left: -27px; top: 22px; width: 15px; height: 15px; border-radius: 50%; background: var(--lime); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--lime); }
.timeline b { display: block; font-size: 17px; margin-bottom: 4px; }
.timeline p { color: var(--grey); font-size: 15px; }
.timeline .when { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cert { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.cert .icon { width: 44px; height: 44px; border-radius: 12px; }
.cert b { display: block; font-size: 15.5px; }
.cert span { font-size: 13.5px; color: var(--grey); }

/* contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lift); padding: 32px; display: grid; gap: 16px; }
.form-card h3 { font-size: 22px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea {
  font: 16px Arial, sans-serif; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.field .err { font-size: 13px; color: #b02a2a; display: none; }
.field.bad input, .field.bad textarea, .field.bad select { border-color: #d03b3b; }
.field.bad .err { display: block; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--grey); align-items: start; }
.consent input { width: 20px; height: 20px; accent-color: var(--green); margin-top: 1px; }
.consent.bad { color: #b02a2a; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions .btn { border: 2px solid var(--green); cursor: pointer; font-family: Arial, sans-serif; }
.form-note { font-size: 13px; color: var(--dim); }
.form-done { display: none; text-align: center; padding: 30px 10px; }
.form-done .icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; background: var(--lime); color: var(--white); }
.form-done .icon svg { width: 36px; height: 36px; }
.form-card.sent form { display: none; }
.form-card.sent .form-done { display: block; animation: feedin .5s var(--ease); }
.rfq-reminder { display: grid; grid-template-columns: 48px 1fr 24px; gap: 16px; align-items: center; margin-top: 22px; padding: 18px 20px; border-radius: 18px; background: var(--green); color: var(--white); text-decoration: none; box-shadow: var(--shadow-lift); transition: transform .25s var(--ease); }
.rfq-reminder:hover { transform: translateY(-3px); }
.rfq-reminder .icon { background: rgba(255, 255, 255, .16); color: var(--white); width: 48px; height: 48px; }
.rfq-reminder b { display: block; font-size: 17px; margin-bottom: 2px; }
.rfq-reminder span span { font-size: 14.5px; color: #DCFCE7; }
.rfq-reminder .go { width: 22px; height: 22px; }

@media (prefers-reduced-motion: reduce) {
  .diag-inner { transform: none; width: auto; margin: 0; }
  .diag-row .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; }
}
@media (max-width: 1080px) {
  .page-hero-grid, .brand-hero .brand-grid, .kit-grid, .about-teaser, .contact-grid, .spotlight { grid-template-columns: 1fr; }
  .feats, .ex-grid, .ai-demos, .vv-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .page-hero { padding: 48px 0 40px; }
  .feats, .ex-grid, .ai-demos, .vv-grid, .team-grid, .ai-chips, .next-grid, .frow, .about-cards, .brand-grid-core { grid-template-columns: 1fr; }
  .person.lead { grid-column: auto; }
  .brand-grid-all { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 22px; }
  .pj { width: 250px; height: 180px; }
  .bt-options { grid-template-columns: repeat(2, 1fr); }
  .bt-plan { grid-template-columns: 1fr; }
  .spotlight { padding: 24px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .next-card.right { text-align: left; } .next-card.right span { justify-content: flex-start; }
}
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 12px; }
.pj-grid .pj { width: auto; }

.form-card form { display: grid; gap: 16px; }

.site-footer a.btn-primary, .site-footer a.btn-primary:hover { color: var(--white); }

/* about extras */
.vv-grid.vm { grid-template-columns: 1fr 1fr; }
.vv.big { padding: 34px; }
.vv.big h3 { font-size: 30px; }
.vv.big:first-child { background: var(--green); border-color: var(--green); color: var(--white); }
.vv.big:first-child p { color: #DCFCE7; }
.vv.big:first-child .group-label { color: #BBF7D0; }
.vv.big:first-child .icon { background: rgba(255, 255, 255, .16); color: var(--white); }
.vv .icon { margin-bottom: 4px; }
.history-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.quotes { display: grid; gap: 14px; margin-bottom: 10px; }
.quote { margin: 0; background: var(--mint); border-radius: 16px; padding: 20px 22px; border-left: 4px solid var(--lime); }
.quote blockquote { margin: 0 0 8px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.quote figcaption { font-size: 13.5px; font-weight: 700; color: var(--green); }
.about-cta { text-align: center; display: grid; justify-items: center; gap: 22px; }
@media (max-width: 1080px) { .history-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .vv-grid.vm { grid-template-columns: 1fr; } .vv.big h3 { font-size: 24px; } }
.team-grid.team-3 { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 1080px) { .team-grid.team-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .team-grid.team-3 { grid-template-columns: 1fr; } }
.team-grid.team-3 .person.lead { grid-column: auto; }

/* ---------- 1 Oct revisions ---------- */
/* hero: the three core platforms always on one row */
.hero-core { flex-wrap: nowrap; }
.hero-core span { flex-direction: column; align-items: flex-start; gap: 5px; padding: 10px 14px; }
.hero-core img { height: 18px; }
.hero-core small { font-size: 11.5px; }
@media (max-width: 720px) {
  .hero-core { gap: 6px; }
  .hero-core span { flex: 1 1 0; min-width: 0; padding: 8px 9px; }
  .hero-core img { height: 13px; max-width: 100%; object-fit: contain; object-position: left; }
  .hero-core small { font-size: 10px; white-space: normal; line-height: 1.2; }
}

/* AV Solutions carousel (home) */
.carousel { position: relative; }
.carousel .car-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 2px 20px; }
.carousel .car-track::-webkit-scrollbar { display: none; }
.carousel .car-track > .card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; }
.car-btn { position: absolute; top: 34%; z-index: 3; width: 50px; height: 50px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lift); display: grid; place-items: center; cursor: pointer; color: var(--green); transition: opacity .25s, transform .25s var(--ease); }
.car-btn:hover:not([disabled]) { transform: scale(1.08); }
.car-btn.prev { left: -24px; } .car-btn.next { right: -24px; }
.car-btn[disabled] { opacity: .3; cursor: default; }
.car-btn svg { width: 20px; height: 20px; }
.car-dots { display: flex; justify-content: center; gap: 8px; }
.car-dots span { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width .3s, background .3s; }
.car-dots span.on { width: 26px; background: var(--lime); }
@media (max-width: 1080px) { .carousel .car-track > .card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 720px) { .carousel .car-track > .card { flex-basis: 86%; } .car-btn { top: 28%; width: 42px; height: 42px; } .car-btn.prev { left: -4px; } .car-btn.next { right: -4px; } }

/* Partners (home): moving logo rows */
#partners .brand-grid-core { margin-bottom: 22px; }
.pm { display: grid; gap: 14px; }
.pm .marquee .track { gap: 14px; animation-duration: 75s; padding: 6px 0; }
.pm .marquee.reverse .track { animation-duration: 68s; }
.pm-logo { flex: none; display: grid; place-items: center; align-content: center; gap: 6px; width: 176px; height: 96px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pm-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lime); }
.marquee .pm-logo img { height: auto; max-height: 38px; max-width: 128px; filter: none; opacity: 1; transform: none; }
.pm-logo .word { font-weight: 700; font-size: 16px; }
.pm-logo em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--green); }
@media (max-width: 720px) { .pm-logo { width: 140px; height: 82px; } .marquee .pm-logo img { max-height: 30px; max-width: 104px; } }

/* Partners page: premium partner slider */
.ps-head { margin: 10px 0 22px; }
.ps-head h2 { margin-top: 12px; }
.ps { position: relative; overflow: hidden; border-radius: 28px; background: var(--mint); margin-bottom: 28px; }
.ps-track { display: flex; transition: transform .9s var(--ease); }
.ps-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 40px 40px 20px; }
.ps-copy h2 { margin: 10px 0 14px; font-size: clamp(26px, 3vw, 38px); }
.ps .maxhub-logo img { height: 30px; max-width: 170px; object-fit: contain; }
.ps .maxhub-logo .word { font-weight: 700; font-size: 22px; }
.ps .ticks { margin: 20px 0 22px; }
.ps .facts { margin: 22px 0; }
.ps .fact { background: var(--white); }
.ps-nav { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 0 26px; }
.ps-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; color: var(--green); }
.ps-btn svg { width: 18px; height: 18px; }
.ps-dots { display: flex; gap: 8px; }
.ps-dots button { width: 9px; height: 9px; border-radius: 5px; border: 0; padding: 0; background: #cfd8c6; cursor: pointer; transition: width .3s, background .3s; }
.ps-dots button.on { width: 28px; background: var(--lime); }
@media (max-width: 900px) { .ps-slide { grid-template-columns: 1fr; gap: 22px; padding: 20px 20px 10px; } }

/* About: Mr Alex Boh feature */
.leader-feature { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 56px; align-items: center; }
.leader-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, var(--mint-2), var(--white)); box-shadow: var(--shadow-lift); display: grid; place-items: center; }
.leader-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.leader-initials { font-size: 88px; font-weight: 700; color: var(--green); opacity: .45; letter-spacing: .04em; }
.leader-copy h2 { font-size: clamp(34px, 4vw, 52px); margin: 14px 0 4px; }
.leader-role { color: var(--green); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.leader-quote { margin: 22px 0 26px; padding-left: 18px; border-left: 4px solid var(--lime); font-size: 19px; line-height: 1.5; color: var(--ink); font-style: italic; }
@media (max-width: 900px) { .leader-feature { grid-template-columns: 1fr; gap: 28px; } .leader-photo { max-width: 360px; } }

/* Fresher, brighter green for Talk to us and Build a Room */
body[data-page="contact"], body[data-page="build"], #contact {
  --green: #15803D; --lime: #22C55E; --mint: #F0FDF4; --mint-2: #DCFCE7; --line: #D9EDDF;
}
body[data-page="contact"] .page-hero, body[data-page="build"] .page-hero { background: linear-gradient(180deg, #ECFDF3 0%, #FFFFFF 100%); }
.rfq-reminder, body[data-page="contact"] .rfq-reminder { background: linear-gradient(135deg, #34D399 0%, #22C55E 45%, #16A34A 100%); box-shadow: 0 14px 34px rgba(22, 163, 74, .28); }
.rfq-reminder .icon { background: rgba(255, 255, 255, .22); }
.rfq-reminder span span { color: #F0FDF4; }
body[data-page="contact"] .btn-primary, body[data-page="build"] .btn-primary, #contact .btn-primary { background: #16A34A; border-color: #16A34A; }
body[data-page="contact"] .btn-primary:hover, body[data-page="build"] .btn-primary:hover, #contact .btn-primary:hover { background: #15803D; border-color: #15803D; }
body[data-page="contact"] .btn-ghost, body[data-page="build"] .btn-ghost, #contact .btn-ghost { color: #15803D; border-color: #16A34A; }
body[data-page="contact"] .draft-ribbon b, body[data-page="build"] .draft-ribbon b { color: #4ADE80; }

/* AV x AI (home): brief links to the full demos */
.ai-brief { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.ai-brief-card { display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.ai-brief-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lime); }
.ai-brief-card .icon { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 6px; }
.ai-brief-card .icon svg { width: 21px; height: 21px; }
.ai-brief-card b { font-size: 16px; }
.ai-brief-card span:not(.icon) { font-size: 14px; color: var(--grey); }
@media (max-width: 1080px) { .ai-brief { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ai-brief { grid-template-columns: 1fr; } }

/* ---------- Brighter green on every button (1 Oct) ---------- */
:root { --btn: #16A34A; --btn-hover: #15803D; --btn-ink: #15803D; }
.btn-primary, .nav .btn, .site-footer a.btn-primary { background: var(--btn); border-color: var(--btn); color: #fff; }
.btn-primary:hover, .nav .btn:hover, .site-footer a.btn-primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: #fff; }
.btn-ghost { color: var(--btn-ink); border-color: var(--btn); }
.btn-ghost:hover { color: var(--btn-hover); }
.form-actions .btn { border-color: var(--btn); }
.car-btn, .ps-btn { color: var(--btn-ink); }

/* AV x AI page: close the gap between the mock ups and the advisor */
.ai-show-section { padding-top: 8px; }
body[data-page="ai"] .section:has(.ai-demos) { padding-bottom: 40px; }
.ais { margin: 28px 0 40px; }
.ai-show-section .ais { margin: 0 0 64px; }
.ai-show-section .ais:last-child { margin-bottom: 0; }

/* Projects page: one long row per project, picture on the left */
.pj-list { display: grid; gap: 12px; margin-top: 12px; }
.pj-row { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 10px 22px 10px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pj-row:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--lime); }
.pj-thumb { width: 168px; height: 96px; border-radius: 11px; overflow: hidden; background: var(--mint); display: grid; place-items: center; }
.pj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pj-thumb.noimg svg { width: 34px; height: 34px; color: var(--green); }
.pj-txt b { display: block; font-size: 17px; margin-bottom: 3px; }
.pj-txt span { color: var(--grey); font-size: 15px; }
.pj-sol { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--green); white-space: nowrap; }
.pj-sol svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.pj-row:hover .pj-sol svg { transform: translateX(3px); }
@media (max-width: 720px) {
  .pj-row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 8px 12px 8px 8px; }
  .pj-thumb { width: 96px; height: 72px; }
  .pj-sol { grid-column: 2; font-size: 12.5px; }
  .pj-txt b { font-size: 15.5px; }
  .pj-txt span { font-size: 13.5px; }
}

/* Privacy notice */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-size: 22px; margin: 34px 0 10px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--grey); font-size: 16px; line-height: 1.7; }
.legal-doc p + p { margin-top: 10px; }
.legal-doc ul { margin: 10px 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.legal-doc b { color: var(--ink); }
.dpo-card { display: grid; gap: 4px; background: var(--mint); border-left: 4px solid var(--lime); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 14px 0; color: var(--grey); }
.dpo-card b { font-size: 17px; }
.consent a, .rb-consent a, #rb-consent-note a { color: var(--green); font-weight: 700; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
