/* ============================================================
   Comstar IT Solutions — Design System
   Light & airy • brand blue #51B6EC • SE Melbourne
   ============================================================ */

:root {
  /* Brand blue scale (anchored on logo #51B6EC) */
  --blue-50:  #EAF7FE;
  --blue-100: #D4EEFC;
  --blue-200: #AEDFF8;
  --blue-300: #82CCF2;
  --blue-400: #51B6EC; /* brand */
  --blue-500: #2AA0E2;
  --blue-600: #1488C9; /* links / interactive */
  --blue-700: #0C76B8; /* buttons (white text passes AA) */
  --blue-800: #0A5C8E;

  /* Ink / neutrals */
  --ink:     #14212B;
  --ink-2:   #3C4B57;
  --muted:   #6A7A87;
  --line:    #E5ECF2;
  --line-2:  #EEF3F8;
  --bg:      #FFFFFF;
  --bg-soft: #F6F5F2;   /* warm neutral ground (was cool blue tint) */
  --bg-tint: #EAF4FC;

  /* Secondary accent — warm, used sparingly against the blue */
  --accent:        #E08A2B;
  --accent-strong: #BC6B12;
  --star:          #E8A23A;

  /* Dark (footer / navy sections) */
  --navy:    #0A2435;
  --navy-2:  #0E2E43;
  --navy-3:  #16415C;

  --ok:      #1FA463;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(16,42,60,.06), 0 1px 3px rgba(16,42,60,.05);
  --shadow-md: 0 6px 18px rgba(16,52,82,.08), 0 2px 6px rgba(16,52,82,.05);
  --shadow-lg: 0 18px 48px rgba(13,58,94,.14), 0 6px 16px rgba(13,58,94,.07);
  --shadow-blue: 0 14px 34px rgba(20,136,201,.28);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --maxw: 1180px;
  --gutter: 24px;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--blue-200); color: var(--ink); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; text-rendering: optimizeLegibility; }

/* ---------- Star icons (consistent SVG, replaces text ★) ---------- */
.star-ic { width: 1em; height: 1em; color: var(--star); flex-shrink: 0; }
.stars { display: inline-flex; align-items: center; gap: 2px; }
.stars .star-ic { width: 16px; height: 16px; }
.stars-sm .star-ic { width: 15px; height: 15px; }


/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--blue-400); }
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 14px; }
.section-head p { font-size: clamp(17px, 2vw, 19px); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 15px 26px; border-radius: 100px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  background-origin: border-box;
  color: #fff; box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(20,136,201,.38); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: #fff; color: var(--ink); border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--blue-300); color: var(--blue-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 30px; font-size: 17px; }

/* ---------- Utility / top bar ---------- */
.utilbar {
  background: var(--navy); color: #cfe3f0; font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.utilbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utilbar .uitem { display: inline-flex; align-items: center; gap: 7px; letter-spacing: .01em; white-space: nowrap; }
.utilbar .uitem svg { width: 14px; height: 14px; color: var(--blue-300); }
.utilbar a { color: #d3e6f3; font-weight: 500; transition: color .2s; }
.utilbar a:hover { color: #fff; }
.utilbar .udot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.3); }
.utilbar-right { display: flex; align-items: center; gap: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s var(--ease), border-color .3s, background .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(16,52,82,.07); border-color: var(--line); background: rgba(255,255,255,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 28px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 36px; width: auto; transition: opacity .2s; }
.brand:hover img { opacity: .82; }

.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a {
  color: var(--ink-2); font-weight: 600; font-size: 15px; position: relative;
  padding: 6px 0; transition: color .2s; white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--blue-500); transform: scaleX(0); transform-origin: center; transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--blue-700); }

.nav-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: 10px; }
.nav-phone .np-ic {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-700); transition: background .2s, transform .2s;
}
.nav-phone .np-ic svg { width: 18px; height: 18px; }
.nav-phone:hover .np-ic { background: var(--blue-100); transform: translateY(-1px); }
.nav-phone .np-txt { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.nav-phone .np-txt span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.nav-phone .np-txt b { font-size: 16px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.nav-cta-btn { padding: 12px 22px; font-size: 15px; border-radius: 12px; box-shadow: 0 6px 16px rgba(20,136,201,.18); }
.nav-cta-btn:hover { box-shadow: 0 10px 24px rgba(20,136,201,.26); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 13px;
  background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: border-color .2s, background .2s;
}
.nav-toggle:hover { border-color: var(--blue-300); background: var(--blue-50); }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open { opacity: 0; visibility: hidden; transition: none; }

/* ---------- Hero (navy, branded) ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  padding: clamp(64px, 8vw, 104px) 0 clamp(72px, 8vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(130% 100% at 88% 6%, rgba(42,160,226,.22), transparent 52%),
    radial-gradient(120% 110% at -8% 104%, rgba(12,118,184,.30), transparent 56%),
    linear-gradient(168deg, #0C2C40 0%, var(--navy) 52%, #081E2C 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 78%);
}
.hero::after { display: none; }
/* large brand circuit-star watermark bleeding off the right */
.hero-mark {
  position: absolute; z-index: -1; right: -7%; top: 50%; transform: translateY(-50%);
  width: min(640px, 56vw); height: auto; opacity: .06; pointer-events: none;
  filter: brightness(0) invert(1);
}
.hero-inner { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(34px, 5vw, 76px); }

.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 13px; border-radius: 100px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  font-size: 13px; font-weight: 600; letter-spacing: .005em; color: #cfe1ee;
  margin-bottom: 28px; backdrop-filter: blur(4px);
}
.hs-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fce8f; box-shadow: 0 0 0 0 rgba(47,206,143,.6); animation: hsPulse 2.4s var(--ease) infinite; }
@keyframes hsPulse { 0% { box-shadow: 0 0 0 0 rgba(47,206,143,.55); } 70%,100% { box-shadow: 0 0 0 8px rgba(47,206,143,0); } }

.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -.035em;
  margin-bottom: 22px; color: #fff; font-weight: 800;
}
.hero h1 br { display: inline; }
.hero-sub { font-size: clamp(16.5px, 2vw, 19.5px); color: rgba(231,240,247,.74); max-width: 500px; margin-bottom: 36px; line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 0; }
.hero .btn-ghost {
  background: rgba(255,255,255,.05); color: #fff; border-color: rgba(255,255,255,.22); box-shadow: none;
}
.hero .btn-ghost:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.42); color: #fff; transform: translateY(-2px); box-shadow: none; }
.hero-call svg { color: var(--blue-300); }

.hero-trust {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.10);
  font-size: 13.5px; color: rgba(231,240,247,.62); font-weight: 500;
}
.hero-trust .ht-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero-trust .ht-item b { color: #fff; font-weight: 700; }
.hero-trust .stars .star-ic { width: 14px; height: 14px; }
.hero-trust .ht-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.22); }

/* Hero glass identity card */
.hero-quote {
  position: relative; border-radius: 24px; padding: clamp(24px, 2.6vw, 32px);
  background: linear-gradient(158deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 32px 70px rgba(2,16,28,.5), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hq-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.hq-badge {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(81,182,236,.14); border: 1px solid rgba(81,182,236,.3);
}
.hq-badge img { width: 26px; height: 26px; }
.hq-id { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.hq-id b { color: #fff; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.hq-id span { font-size: 12px; color: rgba(231,240,247,.6); margin-top: 2px; }
.hq-live {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-size: 11.5px; font-weight: 600; color: #8ee3bd;
  padding: 5px 11px; border-radius: 100px; background: rgba(47,206,143,.12); border: 1px solid rgba(47,206,143,.26);
}
.hq-live i { width: 6px; height: 6px; border-radius: 50%; background: #2fce8f; }
.hero-quote blockquote {
  position: relative; font-size: clamp(16.5px, 1.7vw, 18.5px); line-height: 1.55; color: #eaf2f8;
  font-weight: 500; letter-spacing: -.005em; margin-bottom: 22px; text-wrap: pretty;
}
.hq-by { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.hq-av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue-400), var(--blue-700)); color: #fff; font-weight: 800; font-size: 17px;
}
.hq-meta { margin-right: auto; }
.hq-meta b { display: block; color: #fff; font-size: 14.5px; font-weight: 700; }
.hq-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(231,240,247,.58); margin-top: 2px; }
.hq-stars .star-ic { width: 14px; height: 14px; }
.hq-certs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.hq-certs span {
  font-size: 11.5px; font-weight: 600; color: rgba(231,240,247,.72);
  padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}

/* ---------- Stats strip ---------- */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,.07); }
.stats::before { display: none; }
.stats .wrap { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 52px 0; }
.stat { text-align: center; padding: 6px 12px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: rgba(255,255,255,.12); }
.stat .num { font-size: clamp(34px, 4.4vw, 50px); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.stat .num .u { color: var(--blue-300); }
.stat .num .u-star { display: inline-flex; vertical-align: middle; margin-left: 3px; }
.stat .num .u-star .star-ic { width: .72em; height: .72em; }
.stat .lbl { margin-top: 10px; font-size: 14.5px; color: #b9d2e3; font-weight: 500; }


/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 28px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.svc::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--blue-500);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc-ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue-50);
  color: var(--blue-700); margin-bottom: 20px;
  transition: transform .35s var(--ease);
}
.svc:hover .svc-ic { transform: scale(1.06) rotate(-3deg); }
.svc-ic svg { width: 28px; height: 28px; }
.svc h3 { font-size: 20px; margin-bottom: 9px; letter-spacing: -.01em; }
.svc p { font-size: 15.5px; color: var(--muted); }

/* Services "+ more" line */
.svc-more { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.svc-more .sm-line { width: 40px; height: 2px; border-radius: 2px; background: var(--blue-300); }
.svc-more p { font-size: 17px; color: var(--ink-2); max-width: 560px; margin: 0; }
.svc-more .sm-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--blue-700); white-space: nowrap; }
.svc-more .sm-link svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.svc-more .sm-link:hover { color: var(--blue-800); }
.svc-more .sm-link:hover svg { transform: translateX(4px); }

/* ---------- Why us ---------- */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card .wic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: var(--blue-300);
}
.why-card .wic svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 18.5px; }
.why-card p { font-size: 15px; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-visual { position: relative; }
.about-card {
  background: var(--navy); border-radius: var(--r-xl);
  padding: 40px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-card::before { display: none; }
.about-card .star { width: 64px; margin-bottom: 18px; position: relative; }
.about-card .ac-role {
  display: inline-block; position: relative; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue-300); margin-bottom: 8px;
}
.about-card h3 { color: #fff; font-size: 26px; margin-bottom: 12px; }
.about-card p { color: #c7dcec; font-size: 15.5px; }
.about-card .mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.about-card .mini div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; }
.about-card .mini b { display: block; font-size: 24px; color: #fff; font-weight: 800; }
.about-card .mini .b-star { display: inline-flex; align-items: center; gap: 2px; }
.about-card .mini .b-star .star-ic { width: 20px; height: 20px; }
.about-card .mini span { font-size: 13px; color: #a9c6da; }
.about-body h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 18px; }
.about-body p { font-size: 17px; color: var(--ink-2); margin-bottom: 16px; }

.creds { margin: 26px 0 6px; padding: 20px 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); }
.creds-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.creds-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cred {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 14px 8px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cred svg { width: 16px; height: 16px; color: var(--blue-600); flex-shrink: 0; }
.cred:hover { border-color: var(--blue-300); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.about-list { list-style: none; display: grid; gap: 13px; margin: 24px 0 30px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.about-list li svg { width: 22px; height: 22px; color: var(--blue-600); flex-shrink: 0; margin-top: 1px; }
.about-list li b { color: var(--ink); font-weight: 700; }

/* ---------- Service area ---------- */
.area { background: var(--bg-soft); overflow: hidden; }
.area-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.area-body h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; }
.area-lead { font-size: 16.5px; color: var(--muted); margin-bottom: 22px; max-width: 440px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.area-chips span {
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.area-chips span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); transition: transform .2s; }
.area-chips span:hover { border-color: var(--blue-300); color: var(--blue-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.area-chips span:hover::before { transform: scale(1.5); }
.area-note { font-size: 15px; color: var(--muted); }
.area-note a { font-weight: 700; }
.area-remote {
  display: flex; align-items: flex-start; gap: 13px; margin: 22px 0 18px;
  background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r-md); padding: 16px 18px;
}
.area-remote .ar-ic { width: 38px; height: 38px; border-radius: 11px; background: #fff; color: var(--blue-700); display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--blue-100); }
.area-remote .ar-ic svg { width: 20px; height: 20px; }
.area-remote .ar-txt { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.area-remote .ar-txt b { color: var(--ink); font-weight: 800; }

.map-card {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 14px 14px 12px; box-shadow: var(--shadow-md); position: relative;
}
.map-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}
.map-frame::after {
  content: "Loading map…"; position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center; color: var(--muted); font-size: 14px; font-weight: 600;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; z-index: 1; }
.map-overlay {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 14px; padding: 11px 16px 11px 13px;
  box-shadow: var(--shadow-md); max-width: calc(100% - 28px);
}
.map-overlay .mo-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 5px rgba(81,182,236,.2); flex-shrink: 0; }
.map-overlay .mo-txt { display: flex; flex-direction: column; line-height: 1.3; }
.map-overlay .mo-txt b { color: var(--ink); font-size: 15px; font-weight: 800; }
.map-overlay .mo-txt span { color: var(--muted); font-size: 13px; }
.map-foot {
  display: flex; align-items: center; gap: 9px; justify-content: center;
  margin-top: 12px; padding-top: 4px;
  font-size: 13.5px; color: var(--muted); font-weight: 500; text-align: center;
}
.map-foot a { font-weight: 700; }
.mf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,164,99,.14); flex-shrink: 0; }

/* ---------- Review / testimonial ---------- */
.review { position: relative; }
.review-card {
  max-width: 920px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 60px) clamp(32px, 6vw, 72px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.review-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--blue-500);
}
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.review .rq { width: 56px; height: 56px; color: var(--blue-200); flex-shrink: 0; }
.review-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.review-rating .rr-num { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.review-stars { display: inline-flex; gap: 3px; }
.review-stars .star-ic { width: 21px; height: 21px; }
.review-text { font-size: clamp(20px, 2.5vw, 27px); color: var(--ink); font-weight: 600; line-height: 1.55; letter-spacing: -.01em; margin-bottom: 36px; text-wrap: pretty; }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-2); }
.review-by { display: inline-flex; align-items: center; gap: 15px; }
.review-by .av {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-600); color: #fff; font-weight: 800; font-size: 21px; flex-shrink: 0;
}
.review-by .meta b { display: block; color: var(--ink); font-size: 17px; }
.review-by .meta span { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.review-cta { padding: 12px 20px; font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact::before { display: none; }
.contact .wrap { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact-info .eyebrow { color: var(--blue-300); }
.contact-info h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 16px 0 16px; }
.contact-info > p { color: #bdd6e7; font-size: 18px; margin-bottom: 32px; max-width: 440px; }
.cinfo-list { display: grid; gap: 14px; }
.cinfo {
  display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px 18px;
  transition: background .2s, border-color .2s, transform .2s;
}
a.cinfo:hover { background: rgba(255,255,255,.1); border-color: rgba(81,182,236,.5); transform: translateX(3px); }
.cinfo .cic { width: 44px; height: 44px; border-radius: 12px; background: rgba(81,182,236,.16); color: var(--blue-300); display: grid; place-items: center; flex-shrink: 0; }
.cinfo .cic svg { width: 21px; height: 21px; }
.cinfo .ctxt span { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: #8fb2c8; font-weight: 700; }
.cinfo .ctxt b { color: #fff; font-size: 16.5px; font-weight: 700; white-space: nowrap; }

.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { color: var(--ink); font-size: 22px; margin-bottom: 6px; }
.form-card .fsub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-400); box-shadow: 0 0 0 4px var(--blue-50);
}
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #E0566B; box-shadow: 0 0 0 4px #FBEAED; }
.field .err { display: none; color: #D23A52; font-size: 12.5px; margin-top: 5px; font-weight: 600; }
.field.show-err .err { display: block; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-note.error { color: #D23A52; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn.loading { pointer-events: none; opacity: .8; }
.btn.loading svg { animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success {
  display: none; text-align: center; padding: 28px 8px;
}
.form-success.show { display: block; animation: pop .5s var(--ease); }
.form-success .chk {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 18px;
  background: #E7F6EE; color: var(--ok); display: grid; place-items: center;
}
.form-success .chk svg { width: 34px; height: 34px; }
.form-success h3 { color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 15.5px; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

/* ---------- Footer ---------- */
.footer { background: #061824; color: #9db8c9; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); align-items: start; }
.footer-cta { margin-top: 22px; }
.footer-contact h4 { margin-bottom: 18px; }
.footer-brand img { height: 38px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; color: #8aa6b8; max-width: 280px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a, .footer ul li { color: #9db8c9; font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: var(--blue-300); }
.footer .fcontact li { display: flex; align-items: center; gap: 10px; }
.footer .fcontact svg { width: 16px; height: 16px; color: var(--blue-300); flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 13.5px; color: #7693a6; flex-wrap: wrap; }
.footer-bottom .fb-links { display: flex; gap: 20px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 16px; }
.faq-intro p { font-size: 17px; color: var(--muted); margin-bottom: 26px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--blue-200); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; font-family: inherit; font-size: 17.5px; font-weight: 700; color: var(--ink); line-height: 1.4;
}
.faq-q:hover { color: var(--blue-700); }
.faq-ic { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--blue-600); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-ic::before { top: 10px; left: 2px; width: 18px; height: 2.5px; }
.faq-ic::after { left: 10px; top: 2px; width: 2.5px; height: 18px; }
.faq-item.open .faq-ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > p { overflow: hidden; margin: 0; padding: 0 24px; color: var(--ink-2); font-size: 16px; line-height: 1.65; transition: padding .35s var(--ease); }
.faq-item.open .faq-a > p { padding: 0 24px 24px; }

/* ---------- Scroll progress bar ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 80; background: var(--blue-500); transition: width .1s linear; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--blue-700); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-50); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Active nav link (scrollspy) ---------- */
.nav-links a.active { color: var(--blue-700); background: var(--blue-50); }

/* ---------- Button shine ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-primary:hover::after { left: 140%; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(46px,7vw,76px) 0 clamp(34px,5vw,52px); }
.legal-hero h1 { font-size: clamp(32px,4.6vw,52px); margin: 14px 0 10px; }
.legal-hero .legal-updated { font-size: 14px; color: var(--muted); }
.legal-body { padding: clamp(44px,6vw,76px) 0 clamp(56px,7vw,88px); }
.legal-wrap { max-width: 840px; }
.legal-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 26px; margin-bottom: 40px; }
.legal-toc b { display: block; margin-bottom: 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.legal-toc ol { margin-left: 18px; display: grid; gap: 7px; }
.legal-toc a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.legal-toc a:hover { color: var(--blue-700); }
.legal-body h2 { font-size: clamp(21px,2.5vw,27px); margin: 44px 0 14px; scroll-margin-top: 130px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 17.5px; margin: 26px 0 10px; color: var(--ink); }
.legal-body p { font-size: 16px; color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; }
.legal-body ul { margin: 4px 0 18px 4px; display: grid; gap: 9px; list-style: none; }
.legal-body ul li { font-size: 16px; color: var(--ink-2); line-height: 1.6; padding-left: 26px; position: relative; }
.legal-body ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); }
.legal-body a { font-weight: 600; }
.legal-note { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r-md); padding: 18px 22px; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin-top: 44px; }
.legal-note b { color: var(--ink); }

/* ---------- Reveal animation (gated on .js so content is never hidden without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-quote { max-width: 560px; }
  .about-grid, .area-grid, .contact-grid { grid-template-columns: 1fr; }
  .area-grid .map-card { order: -1; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-intro { position: static; }
  .svc-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 760px) {
  .nav-phone { display: none; }
  .mobile-menu { display: block; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(n+1) { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; padding-top: 6px; }
  .frow { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .nav-cta-btn { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .svc-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .utilbar .uitem.hide-sm { display: none; }
  .hero-actions .btn { flex: 1; }
  .review-by { flex-direction: column; text-align: center; }
  .review-by .meta { text-align: center; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 70;
  background: #fff; box-shadow: -20px 0 60px rgba(8,30,46,.18);
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
  padding: 26px 24px; display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mm-head img { height: 30px; }
.mm-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 20px; color: var(--ink); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { padding: 14px 12px; border-radius: 12px; font-weight: 600; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.mobile-menu nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.mobile-menu .btn { margin-top: 22px; }
.mm-foot { margin-top: auto; padding-top: 20px; font-size: 14px; color: var(--muted); }
.mm-foot a { font-weight: 700; }
.scrim { position: fixed; inset: 0; background: rgba(8,24,36,.4); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 65; }
.scrim.open { opacity: 1; visibility: visible; }
