/* ============================================================
   9Star IT Solutions — Global Stylesheet
   Enterprise dark-blue gradient theme · Glassmorphism · WCAG AA
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Dark theme (default) */
  --bg: #050d21;
  --bg-2: #0a1733;
  --bg-3: #0e1f45;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: #e8eefb;
  --muted: #a3b2d3;
  --primary: #4f8cff;
  --primary-2: #22d3ee;
  --gold: #f5b942;
  --grad: linear-gradient(120deg, #2563eb 0%, #4f8cff 45%, #22d3ee 100%);
  --grad-soft: linear-gradient(160deg, rgba(37,99,235,.25), rgba(34,211,238,.12));
  --shadow: 0 20px 50px rgba(2, 8, 30, 0.55);
  --shadow-sm: 0 8px 24px rgba(2, 8, 30, 0.35);
  --header-h: 76px;
  --radius: 18px;
  --radius-sm: 12px;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f4f7ff;
  --bg-2: #ffffff;
  --bg-3: #e9efff;
  --surface: rgba(13, 35, 84, 0.04);
  --surface-strong: rgba(13, 35, 84, 0.07);
  --border: rgba(13, 35, 84, 0.14);
  --text: #0b1b3a;
  --muted: #45567e;
  --primary: #1d4ed8;
  --primary-2: #0891b2;
  --grad: linear-gradient(120deg, #1d4ed8 0%, #2563eb 45%, #0891b2 100%);
  --grad-soft: linear-gradient(160deg, rgba(37,99,235,.10), rgba(8,145,178,.07));
  --shadow: 0 20px 50px rgba(13, 35, 84, 0.12);
  --shadow-sm: 0 8px 24px rgba(13, 35, 84, 0.08);
  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary-2); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--grad); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; }
p { color: var(--muted); }

.container { width: min(1200px, 92%); margin-inline: auto; }
section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary-2); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 1rem; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(37, 99, 235, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(37, 99, 235, .5); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--surface-strong); }
.btn-link { color: var(--primary-2); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.btn-link:hover { gap: .7rem; }
.btn-link::after { content: "→"; transition: transform .25s; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  background: transparent; transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 1.6rem; width: min(1280px, 94%); margin-inline: auto; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; }
.logo .star {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-size: 1.15rem;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .45);
}
.logo b { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: .35rem; padding: .6rem .85rem;
  font-size: .92rem; font-weight: 500; color: var(--muted); border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--text); background: var(--surface); }
.nav-links > li > a.active { color: var(--primary-2); }
.caret { font-size: .6rem; transform: translateY(1px); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(12px);
  width: min(720px, 92vw); padding: 1.4rem; border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-2) 92%, transparent);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega a {
  display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .8rem; border-radius: var(--radius-sm);
  transition: background .2s;
}
.mega a:hover { background: var(--surface-strong); }
.mega .mi {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); font-size: 1.05rem;
}
.mega strong { display: block; font-size: .9rem; font-weight: 600; }
.mega span { font-size: .78rem; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); display: grid; place-items: center; font-size: 1rem;
  transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--surface-strong); transform: translateY(-2px); }
.nav-cta { padding: .65rem 1.3rem; font-size: .88rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 1500; display: grid; place-items: start center; padding-top: 14vh;
  background: rgba(3, 8, 25, .7); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: .3s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { width: min(620px, 90%); }
.search-box input {
  width: 100%; padding: 1.1rem 1.4rem; font-size: 1.1rem; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg-2); color: var(--text);
}
.search-results { margin-top: 1rem; display: grid; gap: .5rem; max-height: 50vh; overflow: auto; }
.search-results a {
  display: block; padding: .9rem 1.1rem; border-radius: 12px; background: var(--bg-2);
  border: 1px solid var(--border);
}
.search-results a:hover { border-color: var(--primary); }
.search-results small { color: var(--muted); display: block; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 4rem) 0 5rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(1100px 600px at 78% 18%, rgba(37,99,235,.35), transparent 60%), radial-gradient(800px 520px at 12% 85%, rgba(34,211,238,.22), transparent 60%), var(--bg); }
[data-theme="light"] .hero-bg { background: radial-gradient(1100px 600px at 78% 18%, rgba(37,99,235,.14), transparent 60%), radial-gradient(800px 520px at 12% 85%, rgba(8,145,178,.12), transparent 60%), var(--bg); }
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: -1; animation: float 12s ease-in-out infinite; }
.orb-1 { width: 420px; height: 420px; background: rgba(37,99,235,.45); top: -120px; right: -80px; }
.orb-2 { width: 320px; height: 320px; background: rgba(34,211,238,.3); bottom: -60px; left: -90px; animation-delay: -6s; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-32px) } }

.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px);
  font-size: .82rem; font-weight: 500; color: var(--muted); margin-bottom: 1.4rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,.35) } 50% { box-shadow: 0 0 0 7px rgba(52,211,153,0) } }
.hero p.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); margin: 1.4rem 0 2.2rem; max-width: 560px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; display: block; }
.hero-stats .stat span { font-size: .85rem; color: var(--muted); }

/* Hero visual card stack */
.hero-visual { position: relative; min-height: 420px; }
.glass-card {
  position: absolute; padding: 1.2rem 1.4rem; border-radius: var(--radius);
  background: var(--surface-strong); border: 1px solid var(--border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: .9rem; animation: float 9s ease-in-out infinite;
}
.glass-card .gi { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-size: 1.2rem; color: #fff; flex: none; }
.glass-card strong { display: block; font-size: .95rem; }
.glass-card span { font-size: .78rem; color: var(--muted); }
.gc-1 { top: 4%; left: 6%; animation-delay: -1s; }
.gc-2 { top: 34%; right: 0; animation-delay: -4s; }
.gc-3 { bottom: 14%; left: 0; animation-delay: -7s; }
.hero-ring {
  position: absolute; inset: 8% 10%; border-radius: 50%;
  border: 1px dashed var(--border); animation: spin 40s linear infinite;
}
.hero-ring::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); }
@keyframes spin { to { transform: rotate(360deg) } }
.hero-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 150px; height: 150px; border-radius: 38px; background: var(--grad);
  display: grid; place-items: center; font-size: 3.2rem; color: #fff;
  box-shadow: 0 24px 60px rgba(37,99,235,.5); font-family: var(--font-head); font-weight: 700;
}

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 1.4rem; animation: bob 2s infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0) } 50% { transform: translate(-50%, 9px) } }

/* ---------- Logo marquee ---------- */
.trusted { padding: 3.2rem 0; border-block: 1px solid var(--border); background: var(--bg-2); }
.trusted .label { text-align: center; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.8rem; font-weight: 600; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 4.5rem; width: max-content; animation: marquee 28s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%) } }
.client-logo {
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--muted);
  opacity: .75; transition: .3s; display: flex; align-items: center; gap: .55rem; white-space: nowrap;
}
.client-logo:hover { opacity: 1; color: var(--text); transform: scale(1.05); }
.client-logo i { font-style: normal; font-size: 1.05rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  position: relative; padding: 1.9rem 1.7rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .35s ease, border-color .35s, box-shadow .35s, background .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); box-shadow: var(--shadow); background: var(--surface-strong); }
.card:hover::before { transform: scaleX(1); }
.card .ci {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); font-size: 1.5rem; margin-bottom: 1.2rem;
  transition: .35s;
}
.card:hover .ci { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .92rem; }
.card .btn-link { margin-top: 1rem; font-size: .88rem; }

/* Industry tiles */
.ind-tile {
  position: relative; padding: 2.1rem 1.6rem; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--border);
  transition: transform .35s, border-color .35s;
}
.ind-tile:hover { transform: translateY(-6px); border-color: var(--primary); }
.ind-tile .num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; opacity: .14; position: absolute; top: .6rem; right: 1.1rem; }
.ind-tile .ci { font-size: 1.8rem; margin-bottom: .9rem; }
.ind-tile h3 { font-size: 1.05rem; }
.ind-tile p { font-size: .86rem; margin-top: .4rem; }

/* Why section */
.why { background: var(--bg-2); border-block: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.why-list { display: grid; gap: .6rem; }
.why-item {
  display: flex; gap: 1rem; padding: 1.05rem 1.2rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: .3s;
}
.why-item:hover { background: var(--surface); border-color: var(--border); transform: translateX(6px); }
.why-item .wi { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; font-size: 1.2rem; }
.why-item strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.why-item span { font-size: .88rem; color: var(--muted); }

.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.counter-card {
  padding: 2rem 1.6rem; border-radius: var(--radius); text-align: center;
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.counter-card strong { font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 700; display: block; }
.counter-card span { font-size: .85rem; color: var(--muted); }

/* Case studies */
.case-card { display: flex; flex-direction: column; padding: 0; }
.case-media { height: 170px; background: var(--grad-soft); display: grid; place-items: center; font-size: 3rem; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.case-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 200px at 70% 20%, rgba(37,99,235,.3), transparent 65%); }
.case-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-2); background: var(--surface-strong); border: 1px solid var(--border); padding: .25rem .7rem; border-radius: 999px; margin-bottom: .8rem; width: fit-content; }
.case-metric { margin-top: auto; padding-top: 1.1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.case-metric small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--muted); }

/* Testimonials */
.testimonials { background: var(--bg-2); border-block: 1px solid var(--border); overflow: hidden; }
.t-carousel { position: relative; max-width: 860px; margin-inline: auto; }
.t-track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.t-slide { flex: 0 0 100%; padding: .5rem 1rem; }
.t-card {
  padding: 2.6rem 2.4rem; border-radius: var(--radius); text-align: center;
  background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(14px);
}
.t-card .quote-mark { font-family: var(--font-head); font-size: 3.4rem; line-height: .6; display: block; margin-bottom: 1.2rem; }
.t-card blockquote { font-size: 1.08rem; color: var(--text); font-style: italic; max-width: 640px; margin-inline: auto; }
.t-card .who { margin-top: 1.6rem; display: flex; align-items: center; justify-content: center; gap: .9rem; }
.t-card .avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-head); }
.t-card .who strong { display: block; font-size: .95rem; }
.t-card .who span { font-size: .8rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: .2em; margin-bottom: .9rem; }
.t-nav { display: flex; justify-content: center; gap: .8rem; margin-top: 1.8rem; align-items: center; }
.t-dots { display: flex; gap: .5rem; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); border: 0; padding: 0; transition: .3s; }
.t-dot.active { width: 26px; border-radius: 6px; background: var(--grad); }

/* Insights */
.insight-card { padding: 0; display: flex; flex-direction: column; }
.insight-media { height: 150px; display: grid; place-items: center; font-size: 2.6rem; background: var(--grad-soft); border-bottom: 1px solid var(--border); }
.insight-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.insight-body .meta { font-size: .76rem; color: var(--muted); display: flex; gap: .8rem; }
.insight-body h3 { font-size: 1.02rem; }
.insight-body p { font-size: .88rem; }

/* Careers strip */
.careers-strip { background: linear-gradient(120deg, rgba(37,99,235,.16), rgba(34,211,238,.08)); border-block: 1px solid var(--border); }
.job-row {
  display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border); transition: .3s; flex-wrap: wrap;
}
.job-row:hover { border-color: var(--primary); transform: translateX(6px); }
.job-row strong { font-family: var(--font-head); }
.job-row .meta { font-size: .84rem; color: var(--muted); display: flex; gap: 1.1rem; flex-wrap: wrap; }
.job-row .btn { margin-left: auto; padding: .55rem 1.2rem; font-size: .85rem; }

/* CTA banner */
.cta-banner {
  border-radius: calc(var(--radius) + 6px); padding: clamp(2.4rem, 5vw, 4rem);
  background: var(--grad); color: #fff; text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 30px 70px rgba(37,99,235,.4);
}
.cta-banner::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.14); top: -130px; right: -80px; }
.cta-banner::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.1); bottom: -110px; left: -60px; }
.cta-banner h2, .cta-banner p { color: #fff; position: relative; z-index: 1; }
.cta-banner p { opacity: .9; margin: .9rem auto 1.8rem; max-width: 560px; }
.cta-banner .btn-ghost { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); color: #fff; position: relative; z-index: 1; }
.cta-banner .btn-primary { background: #fff; color: #1d4ed8; box-shadow: 0 10px 26px rgba(0,0,0,.2); position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: start; }
.form-card { padding: 2.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(14px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  padding: .85rem 1rem; border-radius: 11px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); font-family: inherit; font-size: .95rem; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.form-note { font-size: .78rem; color: var(--muted); margin-top: .9rem; }
.form-success { display: none; padding: 1rem 1.2rem; border-radius: 12px; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.45); color: #34d399; font-weight: 500; margin-bottom: 1rem; }
.form-success.show { display: block; }

.office-card { padding: 1.5rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); margin-bottom: 1rem; display: flex; gap: 1rem; }
.office-card .oi { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; font-size: 1.2rem; }
.office-card strong { font-family: var(--font-head); display: block; margin-bottom: .2rem; }
.office-card p, .office-card a { font-size: .88rem; color: var(--muted); }
.office-card a:hover { color: var(--primary-2); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 1rem; }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; filter: saturate(.85); }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .3s; font-size: 1.6rem;
}
.wa-float:hover { transform: scale(1.12) rotate(8deg); }
.back-top {
  position: fixed; right: 28px; bottom: 92px; z-index: 900; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--surface-strong);
  backdrop-filter: blur(10px); color: var(--text); font-size: 1.05rem;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 4.2rem 0 0; }
[data-theme="light"] .site-footer { background: #0b1b3a; --text: #e8eefb; --muted: #a3b2d3; --border: rgba(255,255,255,.12); --surface: rgba(255,255,255,.05); color: var(--text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.6rem; }
.footer-grid h4 { font-size: .95rem; margin-bottom: 1.1rem; color: var(--text); }
.footer-grid ul { display: grid; gap: .55rem; }
.footer-grid ul a { font-size: .88rem; color: var(--muted); transition: .2s; }
.footer-grid ul a:hover { color: var(--primary-2); padding-left: 4px; }
.footer-about p { font-size: .9rem; margin: 1rem 0 1.4rem; max-width: 300px; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; font-size: .95rem; color: var(--muted); transition: .25s;
}
.socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); border-color: transparent; }
.newsletter-form { display: flex; gap: .5rem; margin-top: .4rem; }
.newsletter-form input {
  flex: 1; min-width: 0; padding: .75rem 1rem; border-radius: 11px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: .9rem;
}
.newsletter-form button { border: 0; border-radius: 11px; padding: .75rem 1.1rem; background: var(--grad); color: #fff; font-weight: 600; font-size: .9rem; }
.newsletter-msg { font-size: .8rem; color: #34d399; margin-top: .5rem; min-height: 1.1em; }
.footer-bottom {
  margin-top: 3.2rem; padding: 1.4rem 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted);
}
.footer-bottom .legal { display: flex; gap: 1.4rem; }
.footer-bottom a:hover { color: var(--primary-2); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 5rem) 0 4.5rem; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(900px 420px at 50% -10%, rgba(37,99,235,.3), transparent 65%), var(--bg);
}
[data-theme="light"] .page-hero { background: radial-gradient(900px 420px at 50% -10%, rgba(37,99,235,.12), transparent 65%), var(--bg); }
.page-hero .crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 1rem; }
.page-hero .crumbs a:hover { color: var(--primary-2); }
.page-hero p.lead { max-width: 660px; margin: 1.2rem auto 0; font-size: 1.06rem; }

/* Timeline (about) */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--primary-2)); border-radius: 2px; }
.tl-item { position: relative; padding: 0 0 2.2rem 1.6rem; }
.tl-item::before { content: ""; position: absolute; left: -2rem; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 4px solid var(--primary); }
.tl-item .year { font-family: var(--font-head); font-weight: 700; color: var(--primary-2); }
.tl-item h3 { margin: .2rem 0 .35rem; }
.tl-item p { font-size: .92rem; }

/* Values / benefits chips */
.chip-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  padding: .6rem 1.2rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
  font-size: .88rem; font-weight: 500; transition: .25s;
}
.chip:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* FAQ accordion */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: .8rem; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; font-family: var(--font-head);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--primary-2); transition: transform .3s; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.3rem 1.2rem; font-size: .92rem; color: var(--muted); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; } .reveal-d6 { transition-delay: .48s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); padding: 1rem 5%; gap: .2rem;
    max-height: 0; overflow: hidden; transition: max-height .4s ease; margin-left: 0;
  }
  .nav-links.open { max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav-links > li > a { padding: .9rem .6rem; font-size: 1rem; }
  .mega { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; display: none; box-shadow: none; grid-template-columns: 1fr; padding: .4rem; }
  .has-mega.open .mega { display: grid; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-actions { margin-left: auto; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .counters, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-stats { gap: 1.4rem; }
  .job-row .btn { margin-left: 0; width: 100%; }
  .t-card { padding: 1.8rem 1.3rem; }
  .back-top { right: 18px; bottom: 88px; }
}
