/* =========================================================
   APNOVA Chemical Industries – demo site styles
   ========================================================= */
:root {
  --navy: #0a2f6b;
  --nav: #0c3d85;
  --nav-2: #0a3577;
  --blue: #1673e0;
  --blue-2: #2d8cf0;
  --sky: #e9f2fc;
  --green: #43b02a;
  --green-2: #2f9a1f;
  --ink: #0b2559;
  --text: #34475e;
  --muted: #6b7c93;
  --line: #d9e6f5;
  --bg: #ffffff;
  --bg-soft: #f3f8fe;
  --card: #eef5fd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 47, 107, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 47, 107, 0.18);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 12px; border: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: linear-gradient(180deg, #4fc232, var(--green-2)); color: #fff; box-shadow: 0 8px 20px rgba(67, 176, 42, .35); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0f63c7; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar-wrap { background: linear-gradient(180deg, #f7fbff, #eaf3fc); border-bottom: 1px solid var(--line); transition: padding .2s; }
.topbar { display: flex; align-items: center; gap: 24px; min-height: 84px; transition: min-height .25s; }
.site-header.is-compact .topbar { min-height: 64px; }
.site-header.is-compact .brand img { height: 40px; }
.brand { display: flex; align-items: center; gap: 18px; }
.brand img { height: 52px; width: auto; transition: height .25s; }
.brand-divider { width: 2px; height: 46px; background: var(--ink); opacity: .7; }
.brand-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.15rem; line-height: 1.2; }
.trust { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; align-items: center; }
.trust li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0 18px; }
.trust li + li { border-left: 2px solid #9fb4cf; }
.trust .icon { width: 18px; height: 18px; }
.trust .leaf { color: var(--green); }
.auth-slot { display: flex; align-items: center; gap: 8px; }
.auth-slot .btn-sm { white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
.menu-toggle .icon { width: 28px; height: 28px; }

/* user menu */
.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; color: var(--ink); font-weight: 600; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.user-drop { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 220px; padding: 8px; display: none; z-index: 60; }
.user-menu.open .user-drop { display: block; }
.user-drop .who { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; font-size: .85rem; color: var(--muted); }
.user-drop .who strong { display: block; color: var(--ink); font-size: .95rem; }
.user-drop a, .user-drop button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--text); font-size: .92rem; }
.user-drop a:hover, .user-drop button:hover { background: var(--bg-soft); color: var(--blue); }
.tag-soon { margin-left: auto; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: #fff4d6; color: #9a6b00; padding: 2px 7px; border-radius: 999px; }

/* nav bar */
.mainnav { background: linear-gradient(180deg, var(--nav), var(--nav-2)); box-shadow: 0 6px 20px rgba(10,47,107,.25); }
.nav-inner { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-list > li { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; color: #fff; font-weight: 500; font-size: .95rem; padding: 9px 15px; border-radius: 999px; white-space: nowrap; transition: background .2s; background: none; border: 0; cursor: pointer; }
.nav-link .icon { width: 14px; height: 14px; }
.nav-link:hover { background: rgba(255,255,255,.12); }
.nav-link.active { background: linear-gradient(180deg, var(--blue-2), var(--blue)); box-shadow: 0 4px 14px rgba(22,115,224,.55); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 55; }
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: .92rem; color: var(--text); }
.dropdown a:hover { background: var(--bg-soft); color: var(--blue); }
.dropdown a .icon { width: 18px; height: 18px; color: var(--blue); }
.dropdown.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; }
.dropdown .drop-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown .drop-foot a { font-weight: 600; color: var(--blue); justify-content: center; }

/* search */
.search { position: relative; margin-left: auto; flex: 0 1 300px; }
.search-box { display: flex; align-items: center; background: #fff; border-radius: 999px; height: 42px; padding: 0 6px 0 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .9rem; }
.search-box input::placeholder { color: #6b7c93; }
.search-box button { background: none; border: 0; color: var(--ink); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.search-box button:hover { background: var(--bg-soft); }
.search-box .icon { width: 19px; height: 19px; }
.kbd { font-size: .7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; margin-right: 4px; font-family: var(--font-body); }
.search-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(460px, 92vw); max-height: 70vh; overflow: auto; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; display: none; z-index: 70; }
.search.open .search-panel { display: block; }
.sp-group { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 10px 4px; }
.sp-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; color: var(--text); }
.sp-item[aria-selected="true"], .sp-item:hover { background: var(--bg-soft); }
.sp-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--card); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.sp-ico .icon { width: 18px; height: 18px; }
.sp-main { flex: 1; min-width: 0; }
.sp-title { font-weight: 600; color: var(--ink); font-size: .93rem; }
.sp-sub { font-size: .8rem; color: var(--muted); }
.sp-item mark { background: #fff1a8; color: inherit; border-radius: 3px; padding: 0 1px; }
.sp-action { font-size: .75rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.sp-empty { padding: 18px 12px; text-align: center; color: var(--muted); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 10px 10px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: .82rem; cursor: pointer; color: var(--ink); }
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: #2a5c9e; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(90deg, #1d4f93 0%, #24589d 30%, rgba(41,94,160,.75) 45%, rgba(41,94,160,0) 62%),
  linear-gradient(0deg, rgba(8,35,80,.55) 0%, rgba(8,35,80,0) 30%),
  url("../img/hero.jpg") right center / auto 100% no-repeat; }
.hero-content { position: relative; padding: 70px 0 150px; max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.green-bar { display: block; width: 76px; height: 5px; border-radius: 4px; background: var(--green); margin: 22px 0; }
.hero p { font-size: 1.15rem; max-width: 470px; color: #eaf2ff; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(10,40,90,.35), rgba(10,40,90,.7)); backdrop-filter: blur(4px); border-top: 1px solid rgba(255,255,255,.15); }
.hero-strip ul { list-style: none; margin: 0 auto; padding: 18px 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.hero-strip li { display: flex; align-items: center; gap: 14px; padding: 4px 18px; font-family: var(--font-head); font-weight: 500; line-height: 1.25; }
.hero-strip li + li { border-left: 1px solid rgba(255,255,255,.35); }
.hero-strip .icon { width: 38px; height: 38px; stroke-width: 1.4; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.title-lines { display: flex; align-items: center; gap: 28px; justify-content: center; margin-bottom: 36px; }
.title-lines::before, .title-lines::after { content: ""; height: 2px; flex: 0 1 300px; background: linear-gradient(90deg, transparent, var(--blue)); }
.title-lines::after { background: linear-gradient(90deg, var(--blue), transparent); }
.title-lines h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; text-align: center; }
.h-underline { font-size: 1.6rem; font-weight: 700; }
.h-underline::after { content: ""; display: block; width: 46px; height: 4px; border-radius: 3px; background: var(--green); margin-top: 10px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-2); }

/* division cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.div-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 18px rgba(10,47,107,.08); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.div-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.div-card .img { aspect-ratio: 3 / 1.05; overflow: hidden; }
.div-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.div-card:hover img { transform: scale(1.06); }
.div-card .body { padding: 18px 20px 22px; }
.div-card h3 { font-size: 1.18rem; display: flex; align-items: center; gap: 10px; }
.div-card h3 .icon { width: 18px; height: 18px; transition: transform .2s; }
.div-card:hover h3 .icon { transform: translateX(4px); }
.div-card p { margin: 6px 0 0; font-size: .9rem; color: var(--text); }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: center; }
.stat .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--card); color: var(--blue); display: grid; place-items: center; }
.stat .ico .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); line-height: 1; }
.stat span { font-size: .9rem; color: var(--text); }

/* finder band (extra) */
.finder { background: linear-gradient(120deg, var(--navy), #135bb5); color: #fff; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.finder::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(67,176,42,.35), transparent 70%); }
.finder h2 { color: #fff; font-size: 2rem; }
.finder p { color: #cfe0f7; margin: 10px 0 0; }
.finder .search { margin: 0; flex: none; width: 100%; }
.finder .search-box { height: 56px; }
.finder .search-panel { left: 0; right: auto; width: 100%; }
.finder .chips { padding: 14px 0 0; }
.finder .chip { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.finder .chip:hover { background: #fff; color: var(--ink); }

/* industries marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.ind-pill { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ind-pill .icon { width: 22px; height: 22px; color: var(--blue); }

/* CTA */
.cta { background: linear-gradient(90deg, rgba(8,40,95,.95) 40%, rgba(8,40,95,.6)), url("../img/hero.jpg") left center / cover; border-radius: 20px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 48px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 1.8rem; }
.cta p { margin: 6px 0 0; color: #d6e5fa; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: #1d4f93; color: #fff; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; background:
  linear-gradient(90deg, #12478f 0%, #1b56a2 38%, rgba(30,90,165,.4) 55%, rgba(30,90,165,0) 70%),
  url("../img/abouthero.jpg") right center / auto 100% no-repeat; }
.page-hero .container { position: relative; padding: 26px 0 46px; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: #cfe0f7; align-items: center; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .icon { width: 12px; height: 12px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 800; margin-top: 14px; }
.page-hero .green-bar { margin: 14px 0 16px; width: 56px; }
.page-hero p { max-width: 520px; margin: 0; color: #eaf2ff; font-size: 1.05rem; }

/* ---------- About ---------- */
.company { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 30px; align-items: start; }
.company .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.company .photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.company .text p { font-size: .95rem; margin: 14px 0 0; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; border-left: 2px solid var(--line); padding-left: 24px; }
.kpi { display: flex; gap: 14px; align-items: center; padding: 18px 10px; }
.kpi:nth-child(odd) { border-right: 1px solid var(--line); }
.kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.kpi .ico { width: 54px; height: 54px; border-radius: 12px; background: var(--card); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.kpi .ico .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.kpi strong { display: block; font-family: var(--font-head); font-size: 1.55rem; color: var(--ink); line-height: 1.05; }
.kpi span { font-size: .88rem; color: var(--text); font-weight: 500; }
.kpi .big { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }

.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.vmv-card { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 18px; background: var(--card); border-radius: var(--radius); padding: 22px; transition: transform .25s, box-shadow .25s; }
.vmv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vmv-card.green { background: #eef8ec; }
.vmv-card .head { text-align: center; border-right: 2px solid var(--line); padding-right: 14px; }
.vmv-card .head .icon { display: block; width: 40px; height: 40px; color: var(--blue); margin: 0 auto 6px; stroke-width: 1.6; }
.vmv-card.green .head .icon { color: var(--green-2); }
.vmv-card h3 { font-size: 1.2rem; }
.vmv-card p { margin: 0; font-size: .9rem; }
.checks { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.checks li { display: flex; gap: 8px; align-items: center; }
.checks .icon { color: var(--green); width: 16px; height: 16px; }

.infra { display: grid; grid-template-columns: 1fr 2.6fr 1.6fr; gap: 26px; margin-top: 44px; align-items: start; }
.infra p { font-size: .93rem; margin: 14px 0 0; }
.infra-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; border: 0; padding: 0; background: #000; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.tile:hover img { transform: scale(1.07); opacity: .9; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 10px; background: linear-gradient(0deg, rgba(5,30,70,.85), transparent); color: #fff; font-weight: 600; font-size: .88rem; text-align: center; }
.certs { border-left: 2px solid var(--line); padding-left: 26px; }
.cert-row { display: flex; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.badge { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--navy); display: grid; place-items: center; text-align: center; color: var(--navy); background: #fff; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px #9fb4cf; transition: transform .25s; cursor: default; }
.badge:hover { transform: rotate(-6deg) scale(1.05); }
.badge b { font-family: var(--font-head); font-size: 1.45rem; display: block; line-height: 1; }
.badge small { display: block; font-size: .62rem; font-weight: 700; }
.badge em { display: block; font-style: normal; font-size: .5rem; color: var(--muted); }
.badge.gmp { border-color: var(--green-2); color: var(--green-2); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px #a8d89b; }
.badge.gmp b { font-size: 1.6rem; }
.cert-note { font-size: .78rem; color: var(--muted); margin-top: 12px; }

.ind-band { background: var(--card); margin-top: 52px; }
.ind-band .container { display: grid; grid-template-columns: 200px 1fr; align-items: center; padding: 22px 0; gap: 20px; }
.ind-band h2 { font-size: 1.35rem; }
.ind-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); }
.ind-list li { text-align: center; padding: 4px 8px; font-size: .82rem; color: var(--ink); font-weight: 500; line-height: 1.25; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ind-list li + li { border-left: 1px solid #c4d5ea; }
.ind-list .icon { width: 28px; height: 28px; color: var(--blue); stroke-width: 1.5; transition: transform .2s; }
.ind-list li:hover .icon { transform: translateY(-3px); color: var(--green-2); }

/* ---------- Coming soon ---------- */
.soon { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.soon-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.soon-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff4d6; color: #8a5f00; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.soon-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #f2a900; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.soon-card h2 { font-size: 2rem; margin-top: 16px; }
.soon-card > p { margin: 10px 0 0; }
.progress { margin-top: 24px; }
.progress .bar { height: 10px; border-radius: 99px; background: var(--card); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 99px; transition: width 1.4s ease; }
.progress small { display: flex; justify-content: space-between; color: var(--muted); margin-top: 6px; }
.notify { display: flex; gap: 10px; margin-top: 26px; }
.notify input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; }
.planned { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.planned li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.planned .icon { color: var(--green); width: 20px; height: 20px; margin-top: 2px; }

/* ---------- Auth ---------- */
.auth-page { background: radial-gradient(circle at 10% 10%, #dbeafd, transparent 40%), radial-gradient(circle at 90% 90%, #e2f5dc, transparent 40%), var(--bg-soft); min-height: calc(100vh - 144px); display: flex; align-items: center; padding: 48px 0; }
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; width: min(980px, 100% - 32px); margin: auto; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-side { position: relative; color: #fff; padding: 44px; background: linear-gradient(160deg, rgba(10,47,107,.92), rgba(19,91,181,.85)), url("../img/hero.jpg") center / cover; display: flex; flex-direction: column; }
.auth-side h2 { color: #fff; font-size: 1.9rem; margin-top: 18px; }
.auth-side p { color: #d6e5fa; }
.auth-side ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 10px; align-items: center; }
.auth-side li .icon { color: #8be26f; width: 20px; height: 20px; }
.auth-side .foot { margin-top: auto; padding-top: 30px; font-size: .82rem; color: #b9cfee; }
.auth-card { padding: 44px; }
.auth-card .eyebrow { color: var(--blue); }
.auth-card h1 { font-size: 1.9rem; margin-top: 8px; font-weight: 800; }
.auth-card .intro { margin: 10px 0 26px; color: var(--text); }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; border-radius: 999px; border: 1px solid #c9d6e6; background: #fff; font-weight: 600; color: #1f2937; cursor: pointer; transition: background .2s, box-shadow .2s; }
.google-btn:hover { background: #f7f9fc; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.google-btn svg { width: 20px; height: 20px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid #c9d6e6; border-radius: 12px; padding: 0 14px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { padding: 12px 14px; min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,115,224,.12); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field .err { color: #dc2626; font-size: .82rem; margin-top: 4px; }
.field .hint { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px; }
.pw-wrap .icon { width: 18px; height: 18px; }
.strength { display: flex; gap: 4px; margin-top: 6px; }
.strength i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .2s; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-alert { padding: 12px 14px; border-radius: 12px; font-size: .9rem; }
.form-alert.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.form-alert.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.auth-links { text-align: center; font-size: .9rem; }
.auth-links a, .link { color: var(--blue); font-weight: 600; }
.auth-links a:hover, .link:hover { text-decoration: underline; }
.auth-switch { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; }
.terms { font-size: .78rem; color: var(--muted); margin-top: 14px; }
.demo-note { display: flex; gap: 8px; font-size: .8rem; background: #fff8e6; color: #8a5f00; border: 1px solid #ffe2a3; border-radius: 10px; padding: 10px 12px; margin-bottom: 20px; }
.demo-note .icon { width: 16px; height: 16px; margin-top: 2px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 24, 56, .55); backdrop-filter: blur(3px); }
.modal.open { display: flex; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { background: #fff; border-radius: 20px; width: min(640px, 100%); max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg); animation: rise .25s; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 0; }
.modal-head h2 { font-size: 1.5rem; }
.modal-head p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.modal-close { background: var(--bg-soft); border: 0; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--ink); flex-shrink: 0; }
.modal-body { padding: 20px 28px 28px; }
.success { text-align: center; padding: 20px 0 6px; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: #ecfdf5; color: var(--green-2); display: grid; place-items: center; margin: 0 auto 16px; }
.success .tick .icon { width: 36px; height: 36px; }
.ref { display: inline-block; font-family: var(--font-head); font-weight: 700; background: var(--bg-soft); padding: 6px 14px; border-radius: 8px; color: var(--ink); margin: 10px 0 18px; letter-spacing: .04em; }
.lightbox .modal-card { width: min(900px, 100%); background: #000; }
.lightbox img { width: 100%; }
.lightbox .cap { color: #fff; padding: 12px 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }

/* ---------- Floating + toast ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab button { border: 0; cursor: pointer; box-shadow: var(--shadow-lg); }
.fab .quote { background: var(--green-2); color: #fff; border-radius: 999px; padding: 0 20px; height: 50px; display: flex; align-items: center; gap: 8px; font-weight: 600; font-family: var(--font-head); }
.fab .top { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.fab .top.show { opacity: 1; pointer-events: auto; }
.fab .icon { width: 20px; height: 20px; }
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .92rem; display: flex; gap: 10px; align-items: center; animation: rise .25s; }
.toast .icon { color: #8be26f; width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: #071f4a; color: #b9cbe6; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 36px; }
.foot-logo { background: #fff; display: inline-flex; padding: 10px 14px; border-radius: 12px; }
.foot-logo img { height: 40px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .92rem; }
.foot-contact li { display: flex; gap: 10px; }
.foot-contact .icon { width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .trust li:nth-child(1) { display: none; }
  .nav-link { padding: 9px 11px; font-size: .9rem; }
  .search { flex-basis: 240px; }
  .company { grid-template-columns: 1fr 1fr; }
  .kpis { grid-column: 1 / -1; border-left: 0; padding-left: 0; grid-template-columns: repeat(4, 1fr); }
  .kpi:nth-child(-n+2) { border-bottom: 0; }
  .kpi { border-right: 1px solid var(--line); }
  .kpi:last-child { border-right: 0; }
  .infra { grid-template-columns: 1fr 2fr; }
  .certs { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .ind-band .container { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .trust { display: none; }
  .auth-slot { margin-left: auto; }
  .menu-toggle { display: block; }
  .nav-inner { flex-wrap: wrap; padding: 10px 0; }
  .nav-list { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; padding: 6px 0 10px; }
  .mainnav.open .nav-list { display: flex; max-height: calc(100vh - 150px); overflow-y: auto; }
  .nav-link { width: 100%; justify-content: space-between; border-radius: 10px; padding: 12px 14px; }
  .dropdown, .dropdown.wide { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; min-width: 0; background: rgba(255,255,255,.06); margin: 4px 0; grid-template-columns: 1fr; }
  .has-drop:hover .dropdown { display: none; }
  .has-drop.open .dropdown { display: grid; }
  .dropdown a { color: #e3edfb; }
  .dropdown a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .dropdown a .icon { color: #8fc0ff; }
  .dropdown .drop-foot { border-color: rgba(255,255,255,.15); }
  .dropdown .drop-foot a { color: #fff; }
  .search { flex: 1 1 100%; margin: 0; order: 2; }
  .kbd { display: none; }
  .search-panel { left: 0; width: 100%; }
  .cards-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-strip ul { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .hero-strip li:nth-child(4) { border-left: 0; }
  .finder, .soon { grid-template-columns: 1fr; }
  .vmv { grid-template-columns: 1fr; }
  .ind-list { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .ind-list li:nth-child(5) { border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 640px) {
  .brand img { height: 38px; }
  .brand-divider, .brand-name { display: none; }
  .topbar { gap: 10px; min-height: 64px; }
  .auth-slot { gap: 6px; }
  .auth-slot .btn-sm { padding: 0 11px; min-height: 36px; font-size: .84rem; }
  .menu-toggle { padding: 4px; }
  .user-btn .uname { display: none; }
  .hero-bg { background:
    linear-gradient(0deg, rgba(20,70,140,.95) 0%, rgba(20,70,140,.75) 55%, rgba(20,70,140,.35) 100%),
    url("../img/hero.jpg") 70% center / cover no-repeat; }
  .hero-content { padding: 44px 0 30px; }
  .hero-strip { position: relative; }
  .hero-strip ul { grid-template-columns: 1fr 1fr; }
  .hero-strip li { border-left: 0 !important; padding: 4px 6px; font-size: .9rem; }
  .hero-strip .icon { width: 30px; height: 30px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding: 52px 0; }
  .cards-4, .stats { grid-template-columns: 1fr; }
  .title-lines::before, .title-lines::after { display: none; }
  .finder { padding: 28px 20px; }
  .company { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { border-right: 0 !important; padding: 12px 4px; }
  .vmv-card { grid-template-columns: 1fr; }
  .vmv-card .head { border-right: 0; border-bottom: 2px solid var(--line); padding: 0 0 12px; }
  .infra { grid-template-columns: 1fr; }
  .infra-tiles { grid-template-columns: 1fr 1fr; }
  .ind-list { grid-template-columns: repeat(2, 1fr); }
  .ind-list li { border-left: 0 !important; }
  .page-hero .bg { background: linear-gradient(90deg, rgba(18,71,143,.95), rgba(18,71,143,.7)), url("../img/abouthero.jpg") right center / cover; }
  .row-2 { grid-template-columns: 1fr; }
  .auth-card, .soon-card { padding: 26px 20px; }
  .notify { flex-direction: column; }
  .cta { padding: 28px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .modal-head, .modal-body { padding-left: 20px; padding-right: 20px; }
  .fab .quote span { display: none; }
  .fab .quote { width: 50px; padding: 0; justify-content: center; }
}
