/* =========================================================
   EITX — Information Technology Solutions
   Design tokens: navy/circuit-tech identity from brand mark
   ========================================================= */

:root {
  /* Color */
  --navy-deep:  #060B1F;
  --navy:       #0D1B45;
  --navy-2:     #142A61;
  --navy-3:     #1B3577;
  --blue:       #2454C7;
  --blue-light: #6E94F2;
  --orange:     #F2621B;
  --orange-2:   #FF7F3F;
  --amber:      #FFA352;
  --ink:        #0A0F24;
  --slate:      #5B6478;
  --slate-2:    #8991A8;
  --fog:        #F5F7FC;
  --fog-2:      #EBEFF9;
  --white:      #FFFFFF;

  /* Type */
  --f-display: "Sora", "Arial", sans-serif;
  --f-body: "Inter", "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", "Consolas", monospace;

  /* Layout */
  --container: 1220px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --nav-h: 84px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

section { position: relative; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--amber); }

h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--slate); line-height: 1.65; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.on-dark h2, .on-dark h3, .on-dark h1 { color: var(--white); }
.on-dark p { color: #B9C3E6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--f-body);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 30px -8px rgba(242,98,27,0.55); }
.btn-primary:hover { background: var(--orange-2); box-shadow: 0 14px 34px -6px rgba(242,98,27,0.65); }

.btn-outline { background: transparent; color: var(--navy); border-color: rgba(13,27,69,0.18); }
.btn-outline:hover { border-color: var(--navy); background: rgba(13,27,69,0.04); }

.btn-outline.on-dark { color: var(--white); border-color: rgba(255,255,255,0.28); }
.btn-outline.on-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.btn-ghost { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.16); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background 0.4s var(--ease), height 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  height: 68px;
  background: rgba(6,11,31,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.4);
}
.nav-inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; background: var(--white); padding: 8px 14px; border-radius: 12px; box-shadow: 0 6px 18px -8px rgba(0,0,0,0.25); transition: padding .4s var(--ease); }
.nav-logo img { height: 34px; width: auto; transition: height .4s var(--ease); }
.site-nav.scrolled .nav-logo { padding: 6px 12px; }
.site-nav.scrolled .nav-logo img { height: 28px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--f-body); font-weight: 600; font-size: 14.5px;
  color: var(--white); padding: 10px 16px; border-radius: 999px;
  position: relative; transition: color .3s, background .3s;
}
.nav-links a:hover { background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--white); background: rgba(242,98,27,0.18); }
.nav-cta { margin-left: 10px; }

.nav-actions { display: flex; align-items: center; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s;
}
.nav-toggle::before { top: 14px; }
.nav-toggle span { top: 20px; }
.nav-toggle::after { top: 26px; }
.nav-toggle.open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle.open span { opacity: 0; }

/* body always has dark-ish nav since first section is dark on every page */
body.light-page .site-nav:not(.scrolled) .nav-links a { color: var(--navy); }
body.light-page .site-nav:not(.scrolled) .nav-toggle::before,
body.light-page .site-nav:not(.scrolled) .nav-toggle::after,
body.light-page .site-nav:not(.scrolled) .nav-toggle span { background: var(--navy); }
body.light-page .site-nav:not(.scrolled) .nav-toggle { border-color: rgba(13,27,69,0.2); background: rgba(13,27,69,0.05); }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; flex-direction: column;
    background: rgba(6,11,31,0.98); backdrop-filter: blur(16px); padding: 28px 32px; gap: 4px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .4s var(--ease); justify-content: flex-start; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links a { color: var(--white) !important; width: 100%; padding: 16px 8px; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .nav-cta { margin: 18px 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: block; }
  body.light-page .site-nav:not(.scrolled) .nav-toggle { background: rgba(13,27,69,0.05); }
}

/* ---------- Hero / dark sections with network canvas ---------- */
.hero, .dark-section {
  background: radial-gradient(120% 140% at 85% -10%, #16295E 0%, var(--navy) 42%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.glow-orange { background: radial-gradient(circle, rgba(242,98,27,0.45), transparent 70%); width: 560px; height: 560px; }
.glow-blue { background: radial-gradient(circle, rgba(36,84,199,0.5), transparent 70%); width: 520px; height: 520px; }

.skyline {
  position: absolute; bottom: -2px; left: 0; right: 0; height: 130px;
  background-repeat: repeat-x; background-position: bottom; opacity: 0.9; pointer-events: none;
}

.hero { min-height: 92vh; display: flex; align-items: center; padding-top: var(--nav-h); }
.hero-inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; padding: 70px 0 60px; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(242,98,27,0.14); border: 1px solid rgba(242,98,27,0.4);
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242,98,27,0.25); }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); color: var(--white); }
.hero h1 span { color: var(--orange); }
.hero .lead { margin-top: 22px; font-size: 18px; line-height: 1.7; color: #C3CCEA; max-width: 540px; }
.hero-cta-row { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 28px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--f-display); font-size: 30px; color: var(--white); }
.hero-stats .stat span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: #93A0C9; text-transform: uppercase; }

/* Hero visual: agentic panel echo */
.hero-visual { position: relative; z-index: 3; }
.orbit-card {
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.orbit-card .row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.orbit-card .row:last-child { border-bottom: none; }
.orbit-card .row .ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.orbit-card .row b { font-family: var(--f-body); font-size: 14.5px; color: var(--white); display: block; }
.orbit-card .row span { font-size: 12.5px; color: #93A0C9; }

/* ---------- Marquee (industries) ---------- */
.marquee { overflow: hidden; position: relative; padding: 26px 0; border-top: 1px solid rgba(13,27,69,0.08); border-bottom: 1px solid rgba(13,27,69,0.08); }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--white), transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollX 34s linear infinite; }
.marquee-track span { font-family: var(--f-mono); font-size: 14px; color: var(--slate-2); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.marquee-track span::before { content: "\25C6"; color: var(--orange); font-size: 8px; }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

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

.card {
  background: var(--white); border: 1px solid var(--fog-2); border-radius: var(--radius-md);
  padding: 32px 28px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(13,27,69,0.22); border-color: transparent; }
.card .ic-wrap { width: 56px; height: 56px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 14.5px; line-height: 1.65; }

.ic-navy { background: linear-gradient(145deg, var(--navy-2), var(--navy)); }
.ic-orange { background: linear-gradient(145deg, var(--orange-2), var(--orange)); }
.ic-wrap svg { width: 26px; height: 26px; stroke: var(--white); }

/* dark cards used on dark sections */
.card-dark {
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md);
  padding: 30px 26px; transition: transform .45s var(--ease), background .45s;
}
.card-dark:hover { transform: translateY(-6px); background: rgba(255,255,255,0.07); }
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: #B9C3E6; font-size: 14px; line-height: 1.6; }

/* ---------- Sections generic ---------- */
.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.bg-fog { background: var(--fog); }
.bg-white { background: var(--white); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal-scale] { opacity: 0; transform: scale(0.94); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal-scale].in-view { opacity: 1; transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Parallax ---------- */
[data-parallax] { will-change: transform; }

/* ---------- Process timeline ---------- */
.process-track { position: relative; }
.process-line { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--fog-2), var(--orange), var(--fog-2)); }
.process-item { position: relative; display: flex; gap: 26px; padding-bottom: 44px; }
.process-item:last-child { padding-bottom: 0; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700;
  color: var(--orange); flex-shrink: 0; z-index: 2; font-size: 17px;
}
.process-item h4 { font-size: 18px; margin-bottom: 6px; }
.process-item p { color: var(--slate); font-size: 14.5px; max-width: 480px; }

/* ---------- Stat band ---------- */
.stat-band { background: var(--navy); color: var(--white); }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat-grid b { font-family: var(--f-display); font-size: 44px; display: block; background: linear-gradient(120deg, var(--white), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-grid span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #93A0C9; }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg); padding: 64px 56px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-banner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,98,27,0.35), transparent 70%); filter: blur(10px);
}
.cta-banner h3 { color: var(--white); font-size: clamp(24px,3vw,32px); max-width: 480px; position: relative; z-index: 2; }
.cta-banner p { color: #B9C3E6; margin-top: 10px; font-size: 15px; position: relative; z-index: 2; }
.cta-actions { display: flex; gap: 14px; position: relative; z-index: 2; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #93A0C9; padding: 80px 0 30px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo img { height: 34px; margin-bottom: 18px; background: var(--white); padding: 10px 16px; border-radius: 12px; }
.footer-grid p { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-col h5 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col a, .footer-col li { display: block; font-size: 14.5px; margin-bottom: 12px; color: #93A0C9; transition: color .25s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.footer-socials a:hover { background: var(--orange); border-color: var(--orange); }
.footer-socials svg { width: 16px; height: 16px; }

/* ---------- Page header (inner pages) ---------- */
.page-header { padding: calc(var(--nav-h) + 84px) 0 90px; }
.page-header .eyebrow { margin-bottom: 16px; }
.page-header h1 { font-size: clamp(34px, 5vw, 54px); color: var(--white); max-width: 800px; }
.page-header .lead { color: #C3CCEA; font-size: 17px; max-width: 620px; margin-top: 18px; line-height: 1.7; }
.breadcrumb { font-family: var(--f-mono); font-size: 12.5px; color: #93A0C9; margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Two column layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-visual { order: 2; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag-list span { font-family: var(--f-mono); font-size: 12.5px; padding: 7px 14px; border-radius: 999px; background: var(--fog); color: var(--navy); border: 1px solid var(--fog-2); }
.on-dark .tag-list span { background: rgba(255,255,255,0.06); color: var(--white); border-color: rgba(255,255,255,0.14); }

.check-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--fog-2); align-items: flex-start; }
.check-list li:last-child { border-bottom: none; }
.check-list .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--orange); flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.check-list .tick svg { width: 13px; height: 13px; stroke: white; }
.check-list b { display: block; font-size: 15.5px; color: var(--navy); }
.check-list span.desc { font-size: 13.5px; color: var(--slate); }

.on-dark .check-list li { border-color: rgba(255,255,255,0.1); }
.on-dark .check-list b { color: var(--white); }
.on-dark .check-list span.desc { color: #B9C3E6; }

/* ---------- Service index cards ---------- */
.service-card {
  display: block; border-radius: var(--radius-lg); padding: 40px 34px; position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--fog-2); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -28px rgba(13,27,69,0.25); }
.service-card .num { font-family: var(--f-mono); color: var(--slate-2); font-size: 13px; }
.service-card h3 { font-size: 24px; margin: 18px 0 12px; }
.service-card p { color: var(--slate); font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }
.service-card .more { font-family: var(--f-body); font-weight: 700; color: var(--orange); font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.service-card .more svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.service-card:hover .more svg { transform: translateX(5px); }
.service-card .big-ic { position: absolute; right: -10px; top: -10px; width: 110px; height: 110px; opacity: 0.06; }

/* flagship banner */
.flagship {
  border-radius: var(--radius-lg); padding: 56px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--navy-2));
  color: var(--white); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}
.flagship .badge { display: inline-flex; padding: 7px 15px; border-radius: 999px; background: var(--orange); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; margin-bottom: 20px; }
.flagship h3 { font-size: clamp(24px,3vw,32px); color: white; }
.flagship p { color: #C3CCEA; margin-top: 14px; font-size: 15px; line-height: 1.7; }

/* ---------- Form ---------- */
.form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 46px; border: 1px solid var(--fog-2); box-shadow: 0 40px 90px -40px rgba(13,27,69,0.3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; font-family: var(--f-mono); letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 11px; border: 1.5px solid var(--fog-2); background: var(--fog);
  font-size: 14.5px; color: var(--ink); transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.field.error input, .field.error textarea, .field.error select { border-color: #E24444; }
.field .err-msg { display: none; font-size: 12.5px; color: #E24444; margin-top: 6px; }
.field.error .err-msg { display: block; }

.form-success {
  display: none; text-align: center; padding: 50px 20px;
}
.form-success.show { display: block; }
.form-success .check-circle {
  width: 76px; height: 76px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px; animation: popIn .6s var(--ease);
}
.form-success svg { width: 34px; height: 34px; stroke: white; }
@keyframes popIn { from { transform: scale(0.4); opacity:0; } to { transform: scale(1); opacity: 1; } }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--slate); }

.form-error-banner {
  background: #FDEDED; border: 1.5px solid #F3B9B9; color: #B42323; font-size: 13.5px; font-weight: 600;
  padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; display: none;
}

.contact-info-card { background: var(--navy); border-radius: var(--radius-lg); padding: 44px; color: white; height: 100%; position: relative; overflow: hidden; }
.contact-info-card .info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-info-card .info-row:last-of-type { border-bottom: none; }
.contact-info-card .info-row .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(242,98,27,0.18); display: flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-card .info-row .ic svg { width: 20px; height: 20px; stroke: var(--orange); }
.contact-info-card .info-row b { display: block; font-size: 14.5px; }
.contact-info-card .info-row span { font-size: 13.5px; color: #93A0C9; }

/* ---------- Loader ---------- */
.page-loader {
  position: fixed; inset: 0; background: var(--navy-deep); z-index: 9999;
  display: flex; align-items: center; justify-content: center; transition: opacity .6s var(--ease), visibility .6s;
}
.page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 84px; height: 84px; animation: pulseLogo 1.4s ease-in-out infinite; background: var(--white); border-radius: 20px; padding: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6); }
@keyframes pulseLogo { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center; z-index: 500;
  box-shadow: 0 14px 30px -8px rgba(242,98,27,0.6); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; stroke: white; }

/* =========================================================
   Multi-step consultation form
   ========================================================= */
.consult-wrap {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--fog-2);
  box-shadow: 0 40px 90px -40px rgba(13,27,69,0.3); overflow: hidden;
}

/* Stepper */
.stepper { display: flex; align-items: flex-start; padding: 40px 46px 8px; gap: 0; }
.step-item { display: flex; flex-direction: column; align-items: center; position: relative; flex: 1; }
.step-item .dot {
  width: 40px; height: 40px; border-radius: 50%; background: var(--fog); border: 2px solid var(--fog-2);
  display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-weight: 600; font-size: 14px;
  color: var(--slate-2); transition: all .45s var(--ease); z-index: 2; position: relative;
}
.step-item .lbl { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-2); transition: color .4s; text-align: center; }
.step-item .bar { position: absolute; top: 20px; left: 50%; width: 100%; height: 2px; background: var(--fog-2); z-index: 1; transition: background .5s var(--ease); }
.step-item:last-child .bar { display: none; }
.step-item.active .dot { background: var(--orange); border-color: var(--orange); color: white; box-shadow: 0 0 0 6px rgba(242,98,27,0.15); }
.step-item.active .lbl { color: var(--navy); font-weight: 700; }
.step-item.done .dot { background: var(--navy); border-color: var(--navy); color: white; }
.step-item.done .bar { background: var(--navy); }
.step-item.done .dot::after { content: ""; }

/* Panels */
.step-panels { position: relative; padding: 20px 46px 46px; min-height: 380px; }
.step-panel { display: none; animation: stepIn .55s var(--ease); }
.step-panel.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
.step-panel h3 { font-size: 24px; margin-bottom: 8px; }
.step-panel > p.hint { color: var(--slate); font-size: 14.5px; margin-bottom: 28px; }

/* Pill choice groups (radio/checkbox styled as cards) */
.pill-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 26px; }
.pill-group.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pill-group.cols-1 { grid-template-columns: 1fr; }
.pill-choice { position: relative; }
.pill-choice input { position: absolute; opacity: 0; pointer-events: none; }
.pill-choice label {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--fog-2);
  background: var(--fog); font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer;
  transition: all .3s var(--ease);
}
.pill-choice label .box {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--slate-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.pill-choice input[type="radio"] + label .box { border-radius: 50%; }
.pill-choice label .box svg { width: 12px; height: 12px; opacity: 0; transition: opacity .2s; stroke: white; }
.pill-choice input:checked + label { border-color: var(--orange); background: rgba(242,98,27,0.06); }
.pill-choice input:checked + label .box { background: var(--orange); border-color: var(--orange); }
.pill-choice input:checked + label .box svg { opacity: 1; }
.pill-choice input:focus-visible + label { outline: 2px solid var(--orange); outline-offset: 2px; }

.field-label-row { font-size: 13.5px; font-weight: 700; color: var(--navy); margin: 0 0 14px; font-family: var(--f-mono); letter-spacing: .02em; text-transform: uppercase; font-size: 12px; }

/* Calendar */
.calendar-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head h4 { font-family: var(--f-display); font-size: 17px; color: var(--navy); }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--fog-2); background: var(--white);
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.cal-nav button:hover:not(:disabled) { border-color: var(--orange); background: rgba(242,98,27,0.06); }
.cal-nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.cal-nav svg { width: 16px; height: 16px; stroke: var(--navy); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-family: var(--f-mono); font-size: 10.5px; color: var(--slate-2); padding-bottom: 8px; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--navy); cursor: pointer; border: 1.5px solid transparent;
  transition: all .25s var(--ease); background: var(--fog);
}
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.disabled { color: var(--slate-2); background: transparent; cursor: not-allowed; opacity: 0.4; }
.cal-day:not(.disabled):not(.empty):hover { border-color: var(--orange); }
.cal-day.selected { background: var(--orange); color: white; box-shadow: 0 10px 22px -8px rgba(242,98,27,0.55); }

.time-col h4 { font-family: var(--f-display); font-size: 17px; color: var(--navy); margin-bottom: 18px; }
.time-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 320px; overflow-y: auto; padding-right: 4px; }
.time-slot {
  padding: 12px 10px; border-radius: 10px; border: 1.5px solid var(--fog-2); background: var(--fog);
  font-size: 13.5px; font-weight: 600; color: var(--navy); text-align: center; cursor: pointer; transition: all .25s var(--ease);
}
.time-slot:hover { border-color: var(--orange); }
.time-slot.selected { background: var(--navy); border-color: var(--navy); color: white; }
.time-empty-hint { font-size: 13.5px; color: var(--slate); padding: 14px; background: var(--fog); border-radius: 10px; }

/* Nav buttons row */
.form-nav-row { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; margin-top: 10px; border-top: 1px solid var(--fog-2); }
.form-nav-row .spacer { flex: 1; }

/* Summary (final step) */
.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 30px; }
.summary-item { background: var(--fog); border-radius: 12px; padding: 16px 18px; }
.summary-item span.k { display: block; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-2); margin-bottom: 6px; }
.summary-item span.v { font-size: 14.5px; font-weight: 700; color: var(--navy); }

.booked-success { text-align: center; padding: 20px 10px 10px; display: none; }
.booked-success .check-circle { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; animation: popIn .6s var(--ease); }
.booked-success .check-circle svg { width: 38px; height: 38px; stroke: white; }
.booked-success h2 { font-size: 28px; margin-bottom: 10px; }
.booked-success > p { color: var(--slate); font-size: 15.5px; max-width: 440px; margin: 0 auto; }

/* Consultation hero perks */
.perk-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.perk-row .perk { display: flex; align-items: center; gap: 10px; }
.perk-row .perk .ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(242,98,27,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.perk-row .perk .ic svg { width: 16px; height: 16px; stroke: var(--amber); }
.perk-row .perk span { font-size: 13.5px; color: #C3CCEA; font-weight: 600; }

@media (max-width: 860px) {
  .pill-group { grid-template-columns: 1fr 1fr; }
  .pill-group.cols-3 { grid-template-columns: 1fr 1fr; }
  .calendar-wrap { grid-template-columns: 1fr; }
  .stepper { padding: 30px 20px 6px; }
  .step-panels { padding: 16px 22px 32px; }
  .step-item .lbl { display: none; }
  .summary-grid { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-5 { grid-template-columns: repeat(3,1fr); }
  .stat-grid { grid-template-columns: repeat(2,1fr); row-gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-visual { order: 0; }
  .flagship { grid-template-columns: 1fr; padding: 34px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 76px 0; }
  .form-wrap { padding: 28px; }
  .process-item { gap: 16px; }
}

/* =========================================================
   Admin Dashboard
   ========================================================= */
.admin-body { background: var(--fog); min-height: 100vh; }

/* Login screen */
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(120% 140% at 85% -10%, #16295E 0%, var(--navy) 42%, var(--navy-deep) 100%); position: relative; overflow: hidden; }
.admin-login-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px 40px; width: 100%; max-width: 400px; position: relative; z-index: 2;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,0.5); }
.admin-login-card img { height: 36px; background: white; margin-bottom: 26px; }
.admin-login-card h1 { font-size: 22px; margin-bottom: 6px; }
.admin-login-card p.sub { color: var(--slate); font-size: 14px; margin-bottom: 28px; }
.admin-login-error { display: none; background: #FDEDED; border: 1.5px solid #F3B9B9; color: #B42323; font-size: 13px; font-weight: 600; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; }

/* Shell */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--navy-deep); color: white; padding: 26px 20px; display: flex; flex-direction: column; flex-shrink: 0; position: sticky; top: 0; height: 100vh; }
.admin-sidebar .logo-plate { background: white; border-radius: 10px; padding: 8px 12px; margin-bottom: 30px; }
.admin-sidebar .logo-plate img { height: 26px; }
.admin-nav-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600;
  color: #B9C3E6; margin-bottom: 4px; cursor: pointer; transition: all .25s; border: none; background: none; width: 100%; text-align: left; font-family: var(--f-body);
}
.admin-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav-item:hover { background: rgba(255,255,255,0.06); color: white; }
.admin-nav-item.active { background: rgba(242,98,27,0.16); color: white; }
.admin-sidebar .spacer { flex: 1; }
.admin-sidebar .site-link { font-size: 12.5px; color: #7C88AD; margin-top: 6px; }
.admin-sidebar .site-link:hover { color: white; }

.admin-main { flex: 1; min-width: 0; padding: 34px 40px 60px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; gap: 20px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 26px; }
.admin-topbar p { color: var(--slate); font-size: 14px; margin-top: 4px; }

/* Stat cards */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.admin-stat-card { background: white; border-radius: 16px; padding: 22px 24px; border: 1px solid var(--fog-2); }
.admin-stat-card .top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.admin-stat-card .ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.admin-stat-card .ic svg { width: 18px; height: 18px; stroke: white; }
.admin-stat-card b { font-family: var(--f-display); font-size: 30px; color: var(--navy); display: block; }
.admin-stat-card span { font-size: 12.5px; color: var(--slate-2); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }

/* Toolbar */
.admin-toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.admin-search { flex: 1; min-width: 220px; position: relative; }
.admin-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--slate-2); }
.admin-search input { width: 100%; padding: 11px 16px 11px 40px; border-radius: 10px; border: 1.5px solid var(--fog-2); background: white; font-size: 14px; }
.admin-search input:focus { outline: none; border-color: var(--orange); }
.admin-select { padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--fog-2); background: white; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.admin-btn-icon { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--fog-2); background: white; display: flex; align-items: center; justify-content: center; transition: all .25s; }
.admin-btn-icon:hover { border-color: var(--orange); }
.admin-btn-icon svg { width: 16px; height: 16px; stroke: var(--navy); }

/* Table */
.admin-table-wrap { background: white; border-radius: 16px; border: 1px solid var(--fog-2); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-2); padding: 14px 18px; border-bottom: 1px solid var(--fog-2); background: var(--fog); white-space: nowrap; }
.admin-table td { padding: 14px 18px; border-bottom: 1px solid var(--fog-2); font-size: 13.5px; color: var(--ink); vertical-align: middle; }
.admin-table tbody tr { cursor: pointer; transition: background .2s; }
.admin-table tbody tr:hover { background: var(--fog); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-empty { padding: 60px 20px; text-align: center; color: var(--slate); }

.type-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; font-family: var(--f-mono); text-transform: uppercase; }
.type-badge.inquiry { background: #E7ECFB; color: var(--blue); }
.type-badge.consultation { background: #FDE7DA; color: var(--orange); }

.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-New { background: #E7ECFB; color: #2454C7; }
.status-Contacted { background: #FFF3E0; color: #B4650C; }
.status-Qualified { background: #E9F7EF; color: #1E8449; }
.status-Won { background: #DFF5E7; color: #157347; }
.status-Lost { background: #FBE7E7; color: #B42323; }

/* Detail drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(6,11,31,0.55); z-index: 2000; opacity: 0; visibility: hidden; transition: all .4s var(--ease); backdrop-filter: blur(2px); }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 460px; max-width: 92vw; background: white; z-index: 2001;
  transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; box-shadow: -30px 0 60px -20px rgba(0,0,0,0.3); }
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 26px 28px; border-bottom: 1px solid var(--fog-2); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: sticky; top: 0; background: white; z-index: 2; }
.drawer-head h3 { font-size: 19px; }
.drawer-close { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--fog-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.drawer-close svg { width: 16px; height: 16px; stroke: var(--navy); }
.drawer-body { padding: 26px 28px; }
.drawer-row { padding: 14px 0; border-bottom: 1px solid var(--fog-2); }
.drawer-row:last-child { border-bottom: none; }
.drawer-row .k { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-2); margin-bottom: 5px; }
.drawer-row .v { font-size: 14.5px; color: var(--navy); font-weight: 600; line-height: 1.5; }
.drawer-actions { padding: 22px 28px; border-top: 1px solid var(--fog-2); display: flex; gap: 10px; flex-wrap: wrap; position: sticky; bottom: 0; background: white; }
.drawer-status-select { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--fog-2); font-weight: 700; font-size: 13.5px; color: var(--navy); }
.drawer-delete { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid #F3B9B9; background: #FDEDED; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.drawer-delete svg { width: 17px; height: 17px; stroke: #B42323; }

.admin-loading { display: flex; align-items: center; justify-content: center; padding: 80px; color: var(--slate); font-size: 14px; }
.spin { width: 22px; height: 22px; border: 2.5px solid var(--fog-2); border-top-color: var(--orange); border-radius: 50%; animation: spin 0.8s linear infinite; margin-right: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; bottom: 26px; right: 26px; background: var(--navy); color: white; padding: 14px 20px; border-radius: 12px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,0.4); z-index: 3000; opacity: 0; transform: translateY(10px); transition: all .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 1500; transform: translateX(-100%); transition: transform .4s var(--ease); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { padding: 20px 16px 60px; }
  .admin-mobile-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
  .admin-table-wrap { overflow-x: auto; }
  .admin-table { min-width: 720px; }
}
@media (min-width: 1001px) { .admin-mobile-topbar { display: none; } }
