/* Adroit BIS – site stylesheet (shared by all pages)
   Design tokens follow the client's HTML kit: navy #0f2a47, teal #12a58f, soft #f3f7fa.
   Teal used for text/buttons is darkened (#0c7d6c) to pass WCAG AA contrast. */
:root{
  --navy:#0f2a47;--navy-2:#1b4b78;--navy-deep:#0a1f36;
  --teal:#12a58f;--teal-ink:#0c7d6c;--teal-ink-h:#09685a;--teal-light:#7fe3d1;--teal-tint:#e6f5f2;
  --ink:#1d2b3a;--muted:#5a6b7d;--soft:#f3f7fa;--line:#d3dfe8;
  --radius:12px;--radius-lg:16px;--wrap:1320px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;font-family:var(--font);font-size:1rem;line-height:1.7;color:var(--ink);background:#fff;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:var(--navy)}
h1,h2,h3{line-height:1.25;color:var(--navy);margin:0 0 .6rem}
h2{font-size:clamp(1.5rem,1.1rem + 1.4vw,2rem)}
h3{font-size:1.08rem}
p{margin:.4rem 0}
ul{margin:.3rem 0 0;padding-left:1.1rem}
li{margin:.2rem 0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 32px}
.skip{position:absolute;left:-999px;top:0;background:#fff;color:var(--navy);padding:.6rem 1rem;z-index:100;font-weight:700}
.skip:focus{left:10px;top:10px}
:focus-visible{outline:3px solid var(--teal-light);outline-offset:2px}
.ico{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ---------- Buttons & tags ---------- */
.btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--teal-ink);color:#fff;padding:.8rem 1.5rem;border-radius:8px;font-weight:700;text-decoration:none;border:0;cursor:pointer;font:inherit;font-weight:700;line-height:1.3;transition:background .2s}
.btn:hover{background:var(--teal-ink-h)}
.btn-ghost{background:transparent;border:1.5px solid rgba(255,255,255,.55)}
.btn-ghost:hover{background:rgba(255,255,255,.1)}
.tag{display:inline-block;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-ink);font-weight:700;margin-bottom:.4rem}

/* ---------- Header ---------- */
.topbar{background:var(--navy-deep);color:#c9d6e3;font-size:.85rem}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:38px}
.topbar a{color:#e3ecf4;text-decoration:none;display:inline-flex;align-items:center;gap:.4rem}
.topbar a:hover{color:#fff}
.topbar .ico{width:15px;height:15px;color:var(--teal-light)}
.topbar-links{display:flex;gap:1.4rem}
.partner{display:inline-flex;align-items:center;gap:.4rem;color:var(--teal-light);font-weight:600}
.site-header{position:sticky;top:0;z-index:50;background:var(--navy);box-shadow:0 1px 0 rgba(255,255,255,.06)}
.site-header.scrolled{box-shadow:0 6px 20px rgba(10,31,54,.25)}
.nav-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:88px}
.logo img{height:64px;width:auto}
.nav{display:flex;align-items:center;gap:.25rem}
.nav>ul{display:flex;align-items:center;gap:.25rem;list-style:none;margin:0;padding:0}
.nav li{margin:0;position:relative}
.nav-link{white-space:nowrap;display:flex;align-items:center;gap:.3rem;color:#e8eff6;text-decoration:none;font-weight:600;font-size:.95rem;padding:.6rem .85rem;border-radius:8px;background:none;border:0;font-family:inherit;cursor:pointer;line-height:1.3}
.nav-link:hover,.nav-link[aria-expanded=true]{color:#fff;background:rgba(255,255,255,.08)}
.nav-link.active{color:var(--teal-light)}
.nav-link .chev{width:16px;height:16px;transition:transform .2s}
.nav-link[aria-expanded=true] .chev{transform:rotate(180deg)}
.nav-cta{margin-left:.6rem;padding:.65rem 1.2rem}
.mega{position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);width:720px;background:#fff;border-radius:var(--radius-lg);box-shadow:0 18px 50px rgba(10,31,54,.22);padding:1.4rem;display:none;grid-template-columns:repeat(3,1fr);gap:1rem;border-top:4px solid var(--teal)}
.mega.open{display:grid}
.mega h4{margin:0 0 .5rem;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--teal-ink)}
.mega h4 a{color:inherit;text-decoration:none}
.mega ul{list-style:none;padding:0;margin:0}
.mega li{margin:0}
.mega li a{display:block;padding:.45rem .6rem;margin:0 -.6rem;border-radius:8px;color:var(--ink);text-decoration:none;font-size:.93rem;font-weight:500}
.mega li a:hover,.mega li a[aria-current]{background:var(--soft);color:var(--navy)}
.mega li a[aria-current]{font-weight:700}
.mega-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--soft);border-radius:10px;padding:.8rem 1rem;font-size:.9rem}
.mega-foot a{font-weight:700;color:var(--teal-ink);text-decoration:none}
.menu-btn{display:none;background:none;border:0;color:#fff;padding:.5rem;margin-right:-.5rem;cursor:pointer}
.menu-btn .ico{width:28px;height:28px}

/* ---------- Page hero (kit style) ---------- */
.page-hero{margin-top:28px}
.hero{background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff;border-radius:var(--radius-lg);padding:3rem 2.5rem;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;right:-60px;top:-60px;width:240px;height:240px;border-radius:50%;background:rgba(18,165,143,.35)}
.hero>*{position:relative;z-index:1}
.hero h1{color:#fff;font-size:clamp(1.75rem,1.2rem + 2vw,2.4rem);margin-bottom:.8rem}
.hero p{max-width:820px;color:#e3ecf4}
.hero .tag{color:var(--teal-light)}
.crumbs{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;padding:0;margin:0 0 1.2rem;font-size:.85rem;color:#b8c6d6}
.crumbs li{margin:0}
.crumbs li+li::before{content:"/";margin-right:.35rem;opacity:.6}
.crumbs a{color:#e3ecf4;text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.4rem}

/* ---------- Sections ---------- */
.section{padding:3.5rem 0 0}
.section-head{max-width:720px;margin-bottom:1.6rem}
.section-head p{color:var(--muted)}

/* Balanced grids: 3 columns on desktop/tablet so 6 = 3+3 and 9 = 3+3+3 */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}
.card{background:var(--soft);border-top:4px solid var(--teal);border-radius:10px;padding:1.4rem 1.4rem 1.3rem}
.card-ico{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#fff;color:var(--teal-ink);margin-bottom:.9rem;box-shadow:0 1px 0 var(--line)}
.card h3{margin-bottom:.35rem}
.card p,.card li{font-size:.95rem;color:#34465a}
/* compact variant: icon beside title (used for short benefit points) */
.cards-compact .card{display:grid;align-content:start;grid-template-columns:46px 1fr;column-gap:1rem;align-items:start;padding:1.2rem 1.3rem;border-top:0;border-left:4px solid var(--teal);background:var(--soft)}
.cards-compact .card-ico{margin:0;grid-row:span 2}
.cards-compact .card h3{margin:.1rem 0 .15rem}
.cards-compact .card p{margin:0}

/* ---------- Closing CTA (kit) ---------- */
.closing{background:var(--navy);color:#fff;border-radius:var(--radius-lg);padding:2.5rem;text-align:center;position:relative;overflow:hidden}
.closing h2{color:#fff}
.closing p{max-width:700px;margin:.5rem auto;color:#d6e1ec}
.closing .btn{margin-top:1rem}

/* ---------- Enquiry ---------- */
.enquiry{display:grid;grid-template-columns:1fr 1.35fr;gap:2rem;align-items:start}
.enquiry-info{background:var(--soft);border-radius:var(--radius-lg);padding:2rem}
.enquiry-info ul{list-style:none;padding:0;margin:1.2rem 0 0}
.enquiry-info li{display:flex;gap:.8rem;margin:0 0 1rem}
.enquiry-info li .ico{color:var(--teal-ink);margin-top:.15rem}
.enquiry-info a{text-decoration:none;font-weight:600}
.enquiry-info small{display:block;color:var(--muted);font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.steps{counter-reset:s;list-style:none;padding:0;margin:1.4rem 0 0;border-top:1px solid var(--line);padding-top:1.2rem}
.steps li{position:relative;padding-left:2.2rem;margin:0 0 .7rem;font-size:.93rem}
.steps li::before{counter-increment:s;content:counter(s);position:absolute;left:0;top:.1rem;width:24px;height:24px;border-radius:50%;background:var(--navy);color:#fff;font-size:.8rem;font-weight:700;display:grid;place-items:center}
.form{background:#fff;border:1px solid var(--line);border-top:4px solid var(--teal);border-radius:var(--radius-lg);padding:2rem;box-shadow:0 10px 30px rgba(15,42,71,.06)}
.form h2{font-size:1.5rem}
.form .sub{color:var(--muted);margin-bottom:1.2rem}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{display:flex;flex-direction:column;gap:.35rem}
.field.full{grid-column:1/-1}
.field label{font-weight:600;font-size:.9rem;color:var(--navy)}
.field label span{color:#b42318}
.field input,.field select,.field textarea{font:inherit;font-size:1rem;color:var(--ink);background:#fff;border:1px solid #b9c8d6;border-radius:8px;padding:.7rem .85rem;width:100%;min-height:46px}
.field textarea{min-height:120px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--teal-ink);box-shadow:0 0 0 3px rgba(18,165,143,.2)}
.field input:user-invalid,.field textarea:user-invalid{border-color:#b42318}
.hp{position:absolute!important;left:-5000px;width:1px;height:1px;overflow:hidden}
.form-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.3rem}
.form-foot small{color:var(--muted);font-size:.82rem}
.form-status{margin-top:1rem;border-radius:8px;padding:.8rem 1rem;font-weight:600;display:none}
.form-status.ok{display:block;background:var(--teal-tint);color:#075548}
.form-status.err{display:block;background:#fdecea;color:#8a1c12}
.btn[disabled]{opacity:.7;cursor:wait}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy);color:#c3d0de;margin-top:4rem;font-size:.93rem}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:2.2rem;padding:3.5rem 32px 2.5rem}
.site-footer h3{color:#fff;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1rem}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:0 0 .55rem}
.site-footer a{color:#dbe5ef;text-decoration:none}
.site-footer a:hover{color:var(--teal-light)}
.footer-about img{height:58px;width:auto;margin-bottom:1rem}
.footer-about p{max-width:340px}
.badge{display:inline-flex;align-items:center;gap:.4rem;margin-top:1rem;border:1px solid rgba(127,227,209,.4);color:var(--teal-light);border-radius:999px;padding:.3rem .8rem;font-size:.8rem;font-weight:600}
.badge .ico{width:15px;height:15px}
.contact-list li{display:flex;gap:.7rem}
.contact-list .ico{width:18px;height:18px;color:var(--teal-light);margin-top:.25rem}
.social{display:flex;gap:.6rem;margin-top:1.2rem}
.social a{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08)}
.social a:hover{background:var(--teal-ink)}
.social svg{width:17px;height:17px;fill:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1)}
.footer-bottom .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding-top:1.1rem;padding-bottom:1.1rem;font-size:.83rem;color:#9fb1c4}
.footer-bottom a{color:#c3d0de}

/* ---------- Responsive ---------- */
@media (max-width:1060px){
  .nav-link{padding:.6rem .6rem}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
}
@media (max-width:1100px){
  .menu-btn{display:block}
  .nav{position:absolute;top:100%;left:0;right:0;height:calc(100vh - 88px);height:calc(100dvh - 88px);background:var(--navy);display:none;flex-direction:column;align-items:stretch;overflow-y:auto;padding:1rem 20px 2rem;border-top:1px solid rgba(255,255,255,.08)}
  .nav.open{display:flex}
  .nav>ul{flex-direction:column;align-items:stretch;gap:0}
  .nav>ul>li{border-bottom:1px solid rgba(255,255,255,.08)}
  .nav-link{width:100%;justify-content:space-between;padding:.95rem .25rem;font-size:1.02rem;border-radius:0}
  .nav-link:hover,.nav-link[aria-expanded=true]{background:none}
  .mega{position:static;transform:none;width:auto;box-shadow:none;background:transparent;border:0;padding:0 0 1rem .25rem;grid-template-columns:1fr;gap:.9rem;border-radius:0}
  .mega h4{color:var(--teal-light)}
  .mega li a{color:#dbe5ef;padding:.4rem .6rem}
  .mega li a:hover,.mega li a[aria-current]{background:rgba(255,255,255,.07);color:#fff}
  .mega-foot{display:none}
  .nav-cta{margin:1.4rem 0 0;justify-content:center}
  body.menu-open{overflow:hidden}
}
@media (max-width:960px){
  .enquiry{grid-template-columns:1fr}
}
@media (max-width:760px){
  .topbar .hide-sm{display:none}
  .topbar .wrap{justify-content:center}
  .wrap{padding:0 20px}
  .footer-grid{padding-left:20px;padding-right:20px}
  .nav-bar{height:70px}
  .nav{height:calc(100vh - 70px);height:calc(100dvh - 70px);padding:1rem 20px 2rem}
  .logo img{height:50px}
  html{scroll-padding-top:78px}
  .page-hero{margin-top:16px}
  .hero{padding:2rem 1.4rem}
  .hero::after{width:160px;height:160px;right:-50px;top:-50px}
  .section{padding-top:2.6rem}
  .cards{grid-template-columns:1fr;gap:.8rem}
  .card{padding:1.2rem}
  /* on phones, all cards go compact (icon beside text) to keep sections short */
  .cards .card{display:grid;align-content:start;grid-template-columns:42px 1fr;column-gap:.9rem;border-top:0;border-left:4px solid var(--teal)}
  .cards .card-ico{width:42px;height:42px;margin:0;grid-row:span 3}
  .cards .card>*:not(.card-ico){grid-column:2}
  .closing{padding:2rem 1.4rem}
  .enquiry-info,.form{padding:1.4rem}
  .fields{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;padding-top:2.5rem}
  .footer-bottom .wrap{justify-content:center;text-align:center}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media (min-width:761px) and (max-width:960px){
  .cards-compact .card{grid-template-columns:1fr}
  .cards-compact .card-ico{grid-row:auto;margin-bottom:.7rem}
}

/* ===== Components for the full site ===== */
.cards.c2{grid-template-columns:repeat(2,1fr)}
.cards.c4{grid-template-columns:repeat(4,1fr)}
/* odd counts (5, 7): wrap and centre the last row so it never looks orphaned */
.cards.flex{display:flex;flex-wrap:wrap;justify-content:center}
.cards.flex>.card{flex:0 1 calc((100% - 2.2rem)/3)}
.cards.flex.c4>.card{flex-basis:calc((100% - 3.3rem)/4)}
.card.feature{grid-column:1/-1}
.card.feature ul{columns:2;column-gap:2.5rem}
.card.feature li{break-inside:avoid}
.card .more{display:inline-flex;align-items:center;gap:.35rem;margin-top:.8rem;font-weight:700;color:var(--teal-ink);text-decoration:none;font-size:.95rem}
.card .more:hover{text-decoration:underline}
.card .more .ico{width:16px;height:16px}
.card-link{text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.card-link:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(15,42,71,.1)}
.cards-title .card{padding:1.1rem 1.2rem;display:flex;align-items:center;gap:.9rem}
.cards-title .card .card-ico{margin:0}
.cards-title .card h3{margin:0;font-size:1rem}
.pills{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.2rem}
.pills span,.pills a{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);color:#fff;padding:.3rem .9rem;border-radius:999px;font-size:.9rem;text-decoration:none}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.chips b{display:inline-flex;align-items:center;gap:.4rem;background:#fff;border:1px solid var(--line);border-radius:8px;padding:.35rem .75rem;font-weight:600;font-size:.92rem;color:var(--navy)}
.chips b .ico{width:16px;height:16px;color:var(--teal-ink)}
.split{display:grid;grid-template-columns:1.25fr 1fr;gap:2.5rem;align-items:center}
.panel{background:var(--soft);border-radius:var(--radius-lg);padding:2rem;border-left:5px solid var(--teal)}
.panel h3{margin-bottom:.8rem}
.checks{list-style:none;padding:0;margin:0}
.checks li{display:flex;gap:.7rem;margin:0 0 .7rem;font-weight:500}
.checks .ico{width:20px;height:20px;color:var(--teal-ink);margin-top:.2rem}
.text-link{display:inline-flex;align-items:center;gap:.35rem;font-weight:700;color:var(--teal-ink);text-decoration:none;margin-top:.8rem}
.text-link:hover{text-decoration:underline}
.text-link .ico{width:18px;height:18px}
/* numbered process (kit "flow") */
.flow{display:flex;flex-wrap:wrap;gap:1.6rem 1.1rem;margin-top:1.6rem;counter-reset:s}
.flow>div{flex:1 1 200px}
.flow>div{position:relative;background:#fff;border:1px solid var(--line);border-top:4px solid var(--teal);border-radius:10px;padding:1.5rem 1.2rem 1.2rem}
.flow>div::before{counter-increment:s;content:counter(s);position:absolute;top:-17px;left:16px;background:var(--navy);color:#fff;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:.95rem}
.flow p{font-size:.95rem;color:#34465a}
/* Zoho ecosystem layers */
.layers{display:flex;flex-direction:column;gap:.8rem}
.layer{display:grid;grid-template-columns:260px 1fr;background:var(--soft);border-left:5px solid var(--teal);border-radius:8px;overflow:hidden}
.layer h3{margin:0;padding:1rem 1.2rem;background:#e4edf3;display:flex;align-items:center;gap:.7rem;font-size:1rem}
.layer h3 .ico{color:var(--teal-ink);width:22px;height:22px}
.layer>div{padding:.9rem 1.2rem;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.layer b{background:#fff;border:1px solid var(--line);border-radius:6px;padding:.15rem .65rem;font-weight:600;font-size:.9rem;color:var(--navy)}
/* before / after */
.ba{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.ba>div{border-radius:12px;padding:1.6rem 1.8rem}
.ba h3{display:flex;align-items:center;gap:.6rem}
.ba .before{background:#fdf1ef;border:1px solid #f1cfc9}
.ba .before h3 .ico{color:#b42318}
.ba .after{background:var(--teal-tint);border:1px solid #b9e3da}
.ba .after h3 .ico{color:var(--teal-ink)}
.ba ul{list-style:none;padding:0;margin:.4rem 0 0}
.ba li{padding-left:1.4rem;position:relative;margin:.45rem 0}
.ba .before li::before{content:"–";position:absolute;left:.2rem;color:#b42318;font-weight:700}
.ba .after li::before{content:"✓";position:absolute;left:0;color:var(--teal-ink);font-weight:700}
/* FAQ */
.faq{max-width:900px}
.faq details{border:1px solid var(--line);border-radius:10px;margin:0 0 .7rem;background:#fff}
.faq summary{cursor:pointer;font-weight:700;color:var(--navy);padding:1rem 3rem 1rem 1.2rem;list-style:none;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:1.2rem;top:50%;transform:translateY(-50%);font-size:1.4rem;color:var(--teal-ink);font-weight:400}
.faq details[open] summary::after{content:"–"}
.faq details p{padding:0 1.2rem 1.1rem;margin:0;color:#34465a}
.hero-lg{padding:4rem 3rem}
.hero-lg h1{font-size:clamp(1.9rem,1.2rem + 2.6vw,2.9rem);max-width:820px}
.map-link{display:inline-flex;align-items:center;gap:.35rem;margin-top:.6rem;font-weight:700;color:var(--teal-ink);text-decoration:none;font-size:.93rem}
.notfound{text-align:center;padding:5rem 0 2rem}
.notfound .code{font-size:5rem;font-weight:800;color:var(--teal);line-height:1}
@media (max-width:1100px){
  .cards.c4{grid-template-columns:repeat(2,1fr)}
  .cards.flex.c4>.card{flex-basis:calc((100% - 1.1rem)/2)}
  .layer{grid-template-columns:200px 1fr}
}
@media (max-width:960px){
  .split{grid-template-columns:1fr;gap:1.6rem}
}
@media (min-width:761px) and (max-width:960px){
  .cards.flex>.card{flex-basis:calc((100% - 1.1rem)/2)}
}
@media (max-width:760px){
  .cards.c2,.cards.c4{grid-template-columns:1fr}
  .cards.flex>.card,.cards.flex.c4>.card{flex-basis:100%}
  .card.feature ul{columns:1}
  .cards-title .card{display:flex}
  .layer,.ba{grid-template-columns:1fr}
  .hero-lg{padding:2.4rem 1.4rem}
  .panel{padding:1.4rem}
}
