/* =========================================================
   Avio Innovations — HR & Business Solutions
   Global Stylesheet
   Palette: Deep charcoal/black + gold accent
========================================================= */

:root {
  /* Colors */
  --black: #0a0a0c;
  --bg-dark: #0d0d10;
  --bg-panel: #131318;
  --bg-card: #16161c;
  --bg-card-hover: #1c1c24;
  --gold: #d4a017;
  --gold-bright: #e6b52c;
  --gold-soft: #c99a3f;
  --gold-dim: rgba(212, 160, 23, 0.14);
  --text: #f4f2ee;
  --text-muted: #a7a29a;
  --text-dim: #7c776f;
  --white: #ffffff;
  --border: rgba(212, 160, 23, 0.18);
  --border-soft: rgba(255, 255, 255, 0.07);

  /* Type */
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 12px 40px -12px rgba(212, 160, 23, 0.35);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

::selection { background: var(--gold); color: var(--black); }

/* ---------- Utility ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.text-gold { color: var(--gold); }
.center { text-align: center; }

.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

.eyebrow {
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-head {
  max-width: 640px; margin: 0 auto 54px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
/* Order children so the star sits directly ABOVE the title */
.section-head .eyebrow { order: 1; }
.section-head .divider-star { order: 2; }
.section-head .section-title { order: 3; }
.section-head p { order: 4; color: var(--text-muted); }

.divider-star {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin: 0 0 12px; color: var(--gold);
}
.divider-star svg { width: 15px; height: 15px; }
.divider-star::before, .divider-star::after {
  content: ""; height: 1px; width: 30px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider-star::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.5px; text-transform: uppercase;
  padding: 11px 24px; border-radius: 6px; cursor: pointer;
  border: 1.5px solid transparent; transition: all var(--transition);
  white-space: nowrap; line-height: 1.1; max-width: 100%;
}
/* Constrain inline icons so buttons stay compact */
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; color: var(--text); border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-dark { background: var(--black); color: var(--text); border-color: var(--black); }
.btn-dark:hover { background: #000; color: var(--gold); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 18px 0; transition: all var(--transition);
  background: linear-gradient(180deg, rgba(10,10,12,0.85), rgba(10,10,12,0));
}
.site-header.scrolled {
  background: rgba(10, 10, 12, 0.96);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.8);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; }
.logo-img { height: 72px; width: auto; display: block; border-radius: 6px; }
.footer-logo-img { height: 92px; }
@media (max-width: 600px) { .logo-img { height: 56px; } }
.logo-text .brand { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; letter-spacing: 0.5px; line-height: 1; }
.logo-text .brand span { color: var(--gold); }
.logo-text .tag { font-size: 0.6rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-dim); }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu > li > a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text); position: relative; padding: 6px 0;
}
.nav-menu > li > a::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width var(--transition);
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--gold); }
.nav-menu > li > a.active::after, .nav-menu > li > a:hover::after { width: 100%; }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; }
.dropdown {
  position: absolute; top: 140%; left: 50%; transform: translateX(-50%) translateY(10px);
  background: var(--bg-panel); border: 1px solid var(--border-soft);
  border-radius: 10px; padding: 10px; min-width: 240px;
  opacity: 0; visibility: hidden; transition: all var(--transition);
  box-shadow: var(--shadow); z-index: 50;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a {
  display: block; padding: 10px 14px; border-radius: 7px; font-size: 0.85rem;
  color: var(--text-muted); text-transform: none; letter-spacing: 0.3px;
}
.dropdown li a:hover { background: var(--gold-dim); color: var(--gold); }

/* mega menu (all services by category) */
.has-mega { position: relative; }
.mega {
  position: absolute; top: 150%; left: 50%; transform: translateX(-50%) translateY(12px);
  width: min(960px, 94vw); background: var(--bg-panel); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 22px 24px 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 50;
}
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 22px; align-items: start; }
.mega-title {
  display: block; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold);
  padding: 0 10px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--border-soft);
}
.mega-title-link:hover { color: var(--gold-bright); text-decoration: underline; }
.mega-col ul { display: flex; flex-direction: column; }
.mega-col li a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
  font-size: 0.82rem; color: var(--text-muted); text-transform: none; letter-spacing: 0.2px;
}
.mega-col li a:hover { background: var(--gold-dim); color: var(--gold); }
.mega-ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 7px; background: var(--gold-dim); color: var(--gold); display: grid; place-items: center; }
.mega-ic svg { width: 17px; height: 17px; }
.mega-foot {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 10px;
  font-size: 0.8rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px;
}
.mega-foot svg { width: 16px; height: 16px; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 90px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,10,12,0.97) 0%, rgba(10,10,12,0.88) 38%, rgba(10,10,12,0.45) 70%, rgba(10,10,12,0.65) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 620px; }
.hero .eyebrow { animation: fadeUp 0.7s ease both; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; margin-bottom: 22px;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 34px; max-width: 500px; animation: fadeUp 0.7s ease 0.2s both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.7s ease 0.3s both; }
.hero-curve {
  position: absolute; bottom: 0; left: 0; width: 100%; z-index: 1; pointer-events: none;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); overflow: hidden; transition: all var(--transition);
  position: relative;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--border); box-shadow: var(--shadow); }
.service-thumb { position: relative; height: 132px; }
/* Image clipping lives on this inner wrapper so the icon can overhang fully */
.thumb-img { position: absolute; inset: 0; overflow: hidden; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-thumb img { transform: scale(1.08); }
.service-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--bg-card)); pointer-events: none; }
.service-icon {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; color: var(--black); z-index: 3;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,0.7);
}
.service-icon svg { width: 24px; height: 24px; }
.service-body { padding: 32px 18px 24px; text-align: center; }
.service-body h3 { font-size: 1.02rem; margin-bottom: 9px; }
.service-body p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Stats bar ---------- */
.stats-bar { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-panel); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 40px 20px; position: relative;
}
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 22%; height: 56%; width: 1px; background: var(--border-soft); }
.stat-icon { color: var(--gold); }
.stat-icon svg { width: 40px; height: 40px; }
.stat-num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.5px; }

/* ---------- Why choose (split) ---------- */
.why { position: relative; overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.why-visual { position: relative; min-height: 520px; }
.why-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--bg-dark) 96%); }
.why-content { padding: 80px 60px; background: var(--bg-dark); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; margin-top: 34px; }
.why-item { display: flex; gap: 16px; }
.why-item .ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--gold-dim); color: var(--gold); display: grid; place-items: center; }
.why-item .ic svg { width: 22px; height: 22px; }
.why-item h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; margin-bottom: 4px; }
.why-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(100deg, var(--gold-soft), var(--gold)); }
.cta-inner { display: flex; align-items: center; gap: 30px; padding: 44px 0; flex-wrap: wrap; }
.cta-badge {
  width: 78px; height: 78px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.35);
  display: grid; place-items: center; color: var(--black); flex-shrink: 0;
}
.cta-badge svg { width: 38px; height: 38px; }
.cta-text { flex: 1; min-width: 260px; color: var(--black); }
.cta-text h2 { font-size: 1.9rem; color: var(--black); margin-bottom: 4px; }
.cta-text p { font-weight: 500; opacity: 0.85; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); padding: 70px 0 0; border-top: 1px solid var(--border-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-about p { color: var(--text-muted); font-size: 0.86rem; margin: 20px 0 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; color: var(--black); transition: all var(--transition);
}
.footer-social a svg { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--gold-bright); transform: translateY(-3px); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; color: var(--text-muted); font-size: 0.88rem; align-items: flex-start; }
.footer-contact li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact li a { color: var(--text-muted); word-break: break-word; }
.footer-contact li a:hover { color: var(--gold); }

/* ---------- Founder section ---------- */
.founder-section { position: relative; }
.founder-inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; margin-top: 8px;
}
.founder-media { position: relative; }
.founder-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow); background: var(--bg-panel);
}
.founder-photo::after {
  content: ""; position: absolute; inset: 0;
  border: 2px solid var(--gold); border-radius: var(--radius-lg);
  opacity: 0.35; pointer-events: none; mix-blend-mode: screen;
}
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 6; }
.founder-badge {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(10,10,12,0.82); backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft);
}
.founder-badge-ic {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
  background: var(--gold); color: var(--black); display: grid; place-items: center;
}
.founder-badge-ic svg { width: 24px; height: 24px; }
.founder-badge strong { display: block; font-size: 0.95rem; color: var(--text); }
.founder-badge span { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.5px; }

.founder-content .eyebrow { text-align: left; }
.founder-name {
  font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1; margin-bottom: 4px;
}
.founder-role { color: var(--gold); font-weight: 500; letter-spacing: 0.5px; margin-bottom: 22px; }
.founder-quote {
  position: relative; margin: 0 0 22px; padding: 20px 22px 20px 26px;
  background: var(--gold-dim); border-left: 3px solid var(--gold); border-radius: 10px;
}
.founder-quote p { margin: 0; color: var(--text); font-style: italic; font-size: 1.02rem; }
.founder-quote .fq-mark {
  position: absolute; top: -6px; left: 10px; font-family: var(--font-head);
  font-size: 3rem; line-height: 1; color: var(--gold); opacity: 0.4;
}
.founder-content > p { color: var(--text-muted); margin-bottom: 16px; }
.founder-highlights { margin: 18px 0 26px; }
.founder-social { display: flex; gap: 12px; }
.founder-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid var(--border-soft); transition: var(--transition);
}
.founder-social a svg { width: 20px; height: 20px; }
.founder-social a:hover { background: var(--gold); color: var(--black); transform: translateY(-3px); }

@media (max-width: 860px) {
  .founder-inner { grid-template-columns: 1fr; gap: 40px; }
  .founder-media { max-width: 420px; margin: 0 auto; }
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-top: 1px solid var(--border-soft); flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a { font-size: 0.82rem; color: var(--text-dim); }
.footer-bottom .links a:hover { color: var(--gold); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 170px 0 80px; text-align: center; overflow: hidden;
  background: var(--bg-panel);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, var(--gold-dim), transparent 60%);
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.breadcrumb { display: flex; gap: 10px; justify-content: center; color: var(--text-dim); font-size: 0.85rem; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---------- About / generic split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-content .eyebrow { text-align: left; }
.split-content h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 20px; }
.split-content p { color: var(--text-muted); margin-bottom: 18px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.check-list li svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.check-list li span { color: var(--text); font-size: 0.92rem; }
.service-sub { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }

/* ---------- Tech stack chips ---------- */
.tech-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 820px; margin: 0 auto; }
.tech-chip {
  padding: 12px 22px; border-radius: 40px; font-size: 0.9rem; font-weight: 500;
  color: var(--text); background: var(--bg-dark); border: 1px solid var(--border-soft);
  transition: var(--transition);
}
.tech-chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-gold); }

/* ---------- Category cards (home) ---------- */
.cat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 32px 26px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border-soft); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.cat-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-card-ic {
  width: 62px; height: 62px; border-radius: 16px; margin-bottom: 22px;
  background: var(--gold-dim); color: var(--gold); display: grid; place-items: center; transition: var(--transition);
}
.cat-card:hover .cat-card-ic { background: var(--gold); color: var(--black); }
.cat-card-ic svg { width: 30px; height: 30px; }
.cat-card h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 12px; }
.cat-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.cat-card-meta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold);
}
.cat-card-meta svg { width: 16px; height: 16px; transition: transform var(--transition); }
.cat-card:hover .cat-card-meta svg { transform: translateX(4px); }
@media (max-width: 980px) { .cat-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-cards { grid-template-columns: 1fr; } }

/* ---------- Service category blocks ---------- */
.cat-block { margin-top: 46px; }
.cat-block:first-of-type { margin-top: 30px; }
.cat-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border-soft);
}
.cat-title {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700;
}
.cat-num {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; color: var(--gold);
  background: var(--gold-dim); border: 1px solid rgba(212,160,23,0.35);
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
}
.cat-link {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold);
}
.cat-link svg { width: 15px; height: 15px; transition: transform var(--transition); }
.cat-link:hover svg { transform: translateX(4px); }
@media (max-width: 520px) {
  .cat-head { flex-wrap: wrap; gap: 8px; }
}

/* value cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 38px 30px; text-align: center; transition: all var(--transition);
}
.value-card:hover { transform: translateY(-8px); border-color: var(--border); box-shadow: var(--shadow); }
.value-card .ic { width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%; background: var(--gold-dim); color: var(--gold); display: grid; place-items: center; }
.value-card .ic svg { width: 30px; height: 30px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ind-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 260px;
  border: 1px solid var(--border-soft);
}
.ind-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ind-card:hover img { transform: scale(1.08); }
.ind-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,10,12,0.95)); }
.ind-card .ind-body { position: absolute; bottom: 0; left: 0; padding: 26px; z-index: 2; }
.ind-card .ind-body .ic { width: 46px; height: 46px; border-radius: 10px; background: var(--gold); color: var(--black); display: grid; place-items: center; margin-bottom: 14px; }
.ind-card .ind-body .ic svg { width: 24px; height: 24px; }
.ind-card .ind-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.ind-card .ind-body p { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { text-align: center; position: relative; }
.process-num {
  width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%;
  border: 1.5px dashed var(--gold); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.7rem; color: var(--gold); background: var(--bg-panel);
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 34px 30px; position: relative;
}
.testi-card .quote { color: var(--gold); font-family: var(--font-head); font-size: 3.4rem; line-height: 0.5; opacity: 0.5; }
.testi-card p { color: var(--text-muted); font-size: 0.92rem; margin: 16px 0 24px; }
.testi-stars { color: var(--gold); margin-bottom: 18px; letter-spacing: 2px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-author .av { width: 50px; height: 50px; border-radius: 50%; background: var(--gold-dim); color: var(--gold); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }
.testi-author h4 { font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; }
.testi-author span { font-size: 0.78rem; color: var(--text-dim); }

/* ---------- Careers ---------- */
.job-list { display: grid; gap: 18px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 26px 30px; transition: all var(--transition); flex-wrap: wrap;
}
.job-card:hover { border-color: var(--border); transform: translateX(6px); }
.job-info h3 { font-size: 1.15rem; margin-bottom: 8px; }
.job-meta { display: flex; gap: 18px; flex-wrap: wrap; }
.job-meta span { font-size: 0.8rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.job-meta span svg { width: 15px; height: 15px; color: var(--gold); }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.perk { text-align: center; padding: 30px 20px; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); }
.perk .ic { color: var(--gold); margin-bottom: 16px; }
.perk .ic svg { width: 34px; height: 34px; }
.perk h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 8px; }
.perk p { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-8px); border-color: var(--border); box-shadow: var(--shadow); }
.blog-thumb { height: 200px; overflow: hidden; position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.07); }
.blog-tag { position: absolute; top: 16px; left: 16px; background: var(--gold); color: var(--black); font-size: 0.7rem; font-weight: 600; padding: 5px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-body { padding: 26px 24px 28px; }
.blog-date { font-size: 0.76rem; color: var(--gold); letter-spacing: 0.5px; margin-bottom: 10px; }
.blog-body h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 12px; }
.blog-body h3 a:hover { color: var(--gold); }
.blog-body p { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 16px; }
.blog-more { color: var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; }
.blog-more:hover { gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 46px; align-items: start; }
.contact-info-card { display: flex; gap: 18px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); margin-bottom: 18px; }
.contact-info-card .ic { width: 50px; height: 50px; flex-shrink: 0; border-radius: 12px; background: var(--gold-dim); color: var(--gold); display: grid; place-items: center; }
.contact-info-card .ic svg { width: 24px; height: 24px; }
.contact-info-card h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { font-size: 0.88rem; color: var(--text-muted); }
.contact-form { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; margin-bottom: 8px; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; background: var(--bg-dark); border: 1px solid var(--border-soft);
  border-radius: 7px; color: var(--text); font-family: var(--font-body); font-size: 0.9rem; transition: border var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--text-dim); margin-top: 14px; }
.form-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-size: 0.88rem; }
.form-alert.ok { background: rgba(46, 160, 67, 0.14); color: #6fd68a; border: 1px solid rgba(46,160,67,0.3); }
.form-alert.err { background: rgba(220, 60, 60, 0.14); color: #f0a0a0; border: 1px solid rgba(220,60,60,0.3); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); margin-top: 60px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-soft); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: var(--bg-card); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; cursor: pointer; font-weight: 500; font-size: 1rem; }
.faq-q .plus { color: var(--gold); font-size: 1.5rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 26px 22px; color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Partners strip ---------- */
.partners { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; opacity: 0.7; }
.partners span { font-family: var(--font-head); font-size: 1.5rem; color: var(--text-dim); font-weight: 700; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 28px; left: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--black); display: grid; place-items: center;
  cursor: pointer; opacity: 0; visibility: hidden; transition: all var(--transition); z-index: 900;
  border: none; box-shadow: var(--shadow-gold);
}
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- Floating widgets: WhatsApp + Chatbot ---------- */
.float-stack {
  position: fixed; right: 24px; bottom: 24px; z-index: 950;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.wa-float {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px -6px rgba(37,211,102,0.6); transition: var(--transition);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: -1; animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.5; } 70%,100% { transform: scale(1.9); opacity: 0; } }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
.wa-tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%) translateX(6px);
  white-space: nowrap; background: var(--bg-panel); color: var(--text); font-size: 0.8rem;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border-soft);
  opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: var(--shadow); pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

.cb-launch {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gold); color: var(--black); display: grid; place-items: center;
  box-shadow: var(--shadow-gold); transition: var(--transition); position: relative;
}
.cb-launch:hover { background: var(--gold-bright); transform: translateY(-3px) scale(1.05); }
.cb-launch svg { width: 30px; height: 30px; position: absolute; transition: all var(--transition); }
.cb-launch-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
body.cb-open .cb-launch-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
body.cb-open .cb-launch-close { opacity: 1; transform: rotate(0) scale(1); }

.chatbot-panel {
  position: fixed; right: 24px; bottom: 96px; z-index: 951;
  width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 140px));
  background: var(--bg-panel); border: 1px solid var(--border-soft); border-radius: 18px;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.96); transform-origin: bottom right;
  transition: all var(--transition);
}
body.cb-open .chatbot-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.cb-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: linear-gradient(100deg, var(--gold-soft), var(--gold)); color: var(--black);
}
.cb-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.15); display: grid; place-items: center; color: var(--black); }
.cb-avatar svg { width: 24px; height: 24px; }
.cb-head-txt { flex: 1; line-height: 1.2; }
.cb-head-txt strong { display: block; font-size: 0.98rem; }
.cb-head-txt span { font-size: 0.72rem; opacity: 0.8; }
.cb-head-close { background: none; border: none; color: var(--black); font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: 0.8; }
.cb-head-close:hover { opacity: 1; }

.cb-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.cb-msg { max-width: 82%; padding: 11px 14px; border-radius: 14px; font-size: 0.86rem; line-height: 1.5; }
.cb-msg a { color: var(--gold); font-weight: 600; }
.cb-bot { align-self: flex-start; background: var(--bg-dark); border: 1px solid var(--border-soft); border-bottom-left-radius: 4px; color: var(--text); }
.cb-bot a { text-decoration: underline; }
.cb-user { align-self: flex-end; background: var(--gold); color: var(--black); border-bottom-right-radius: 4px; }
.cb-user a { color: var(--black); }

.cb-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 12px; }
.cb-chip {
  padding: 8px 13px; border-radius: 20px; font-size: 0.77rem; cursor: pointer;
  background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(212,160,23,0.35); transition: var(--transition);
}
.cb-chip:hover { background: var(--gold); color: var(--black); }
.cb-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border-soft); }
.cb-input input {
  flex: 1; padding: 11px 14px; border-radius: 24px; border: 1px solid var(--border-soft);
  background: var(--bg-dark); color: var(--text); font-family: inherit; font-size: 0.85rem;
}
.cb-input input:focus { outline: none; border-color: var(--gold); }
.cb-input button {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gold); color: var(--black); display: grid; place-items: center; transition: var(--transition);
}
.cb-input button:hover { background: var(--gold-bright); }
.cb-input button svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .chatbot-panel { right: 12px; left: 12px; width: auto; bottom: 92px; }
  .float-stack { right: 16px; bottom: 16px; }
}
.to-top:hover { background: var(--gold-bright); transform: translateY(-4px); }

/* ---------- Mobile nav overlay ---------- */
.nav-backdrop { display: none; }

/* =========================================================
   Responsive
========================================================= */
/* --- Buttons: scale down across screen sizes --- */
@media (max-width: 768px) {
  .btn { padding: 10px 20px; font-size: 0.76rem; gap: 7px; }
  .btn svg { width: 15px; height: 15px; }
}
@media (max-width: 480px) {
  .btn { padding: 10px 16px; font-size: 0.72rem; letter-spacing: 0.3px; gap: 6px; }
  .btn svg { width: 14px; height: 14px; }
  /* Full-width, centered CTAs where they stack */
  .hero-actions, .cta-inner { width: 100%; }
  .hero-actions .btn, .cta-inner .btn { flex: 1 1 100%; }
}

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-content { padding: 60px 40px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 1200; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 300px; max-width: 85vw;
    background: var(--bg-panel); flex-direction: column; align-items: flex-start;
    padding: 100px 34px 40px; gap: 6px; transition: right var(--transition);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.8); overflow-y: auto; z-index: 1100;
  }
  .nav-menu.open { right: 0; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; padding: 0 0 0 14px; min-width: auto; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  /* mega menu collapses into the mobile drawer */
  .mega { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; border: none; width: auto; padding: 6px 0 6px 8px; display: none; }
  .has-dropdown.open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 4px; }
  .mega-title { border: none; padding: 12px 6px 4px; }
  .mega-foot { margin: 6px 0 4px; }
  .nav-backdrop.show { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1050; }
  .why-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .why-visual { min-height: 320px; }
  .why-visual::after { background: linear-gradient(180deg, transparent, var(--bg-dark) 96%); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)::after { display: none; }
  .process-grid, .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .ind-grid, .testi-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .services-grid, .cards-3, .ind-grid, .testi-grid, .blog-grid, .perks-grid, .process-grid, .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .cta-text h2 { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .why-content { padding: 44px 24px; }
}

/* ---------- Careers: empty openings ---------- */
.openings-empty {
  max-width: 620px; margin: 0 auto; text-align: center; padding: 48px 30px;
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
}
.openings-empty .oe-ic {
  width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--gold-dim); color: var(--gold); display: grid; place-items: center;
}
.openings-empty .oe-ic svg { width: 34px; height: 34px; }
.openings-empty h3 { font-size: 1.5rem; margin-bottom: 12px; }
.openings-empty p { color: var(--text-muted); margin-bottom: 26px; }

/* =========================================================
   Mobile compatibility refinements
========================================================= */
@media (max-width: 900px) {
  /* Header keeps the logo readable and the bar compact on tablets/phones */
  .site-header { padding: 8px 0; }
  .cta-inner { flex-direction: column; text-align: center; gap: 20px; }
  .founder-badge { position: static; margin-top: 14px; }
}
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 130px 0 70px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .page-hero { padding: 120px 0 50px; }
  .split { gap: 34px; }
  .mega-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .logo-img { height: 48px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  /* Floating widgets: slightly smaller so they don't crowd the screen */
  .wa-float { width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
  .cb-launch { width: 54px; height: 54px; }
  .cb-launch svg { width: 26px; height: 26px; }
  .founder-quote p { font-size: 0.95rem; }
  .to-top { bottom: 20px; left: 16px; width: 42px; height: 42px; }
}
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-social { justify-content: flex-start; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
