@charset "utf-8";
/* Premier Technology — 2026 site styles */

:root {
  --blue: #0a84d6;
  --blue-dark: #0668ad;
  --blue-soft: #e8f3fc;
  --navy: #0b1d33;
  --navy-2: #12294a;
  --ink: #1b2533;
  --text: #4a5568;
  --muted: #718096;
  --line: #e4e9f0;
  --bg-alt: #f5f8fb;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 29, 51, .06), 0 8px 24px rgba(11, 29, 51, .06);
  --shadow-lg: 0 2px 4px rgba(11, 29, 51, .06), 0 18px 40px rgba(11, 29, 51, .12);
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 38px); }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  border: 2px solid transparent; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* Top bar */
.topbar { background: var(--navy); color: #a9b8cc; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar a { color: #a9b8cc; }
.topbar a:hover { color: var(--white); }
.topbar-contact { display: flex; gap: 24px; }
.topbar-contact span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-contact svg { width: 14px; height: 14px; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { padding: 2px 8px; border-radius: 4px; }
.lang-switch a.active { background: rgba(255,255,255,.1); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; align-items: center; gap: 2px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 6px;
  font: 500 15px/1 var(--font); color: var(--ink);
  background: none; border: 0; cursor: pointer;
}
.nav > ul > li > a:hover, .nav > ul > li > button:hover,
.nav > ul > li.open > button { color: var(--blue); background: var(--blue-soft); }
.nav > ul > li > a.current { color: var(--blue); }
.nav .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav li.open .chev { transform: rotate(180deg); }
.nav .btn { margin-left: 12px; padding: 12px 20px; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; min-width: 220px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); font-size: 14px; }
.dropdown a:hover { background: var(--bg-alt); color: var(--blue); }
.nav li.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 981px) {
  .nav li.has-dd:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .nav li.has-dd:hover .chev { transform: rotate(180deg); }
}

.mega { left: 50%; transform: translate(-50%, 6px); width: 760px; padding: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; }
.nav li.open > .mega { transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 981px) {
  .nav li.has-dd:hover > .mega { transform: translate(-50%, 0); }
}
.mega-foot {
  grid-column: 1 / -1; display: flex !important; align-items: center; gap: 10px;
  margin-top: 8px; padding: 12px 14px !important; border-radius: 8px;
  background: var(--blue-soft); color: var(--ink) !important; font-size: 14px;
}
.mega-foot svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.mega-foot strong { color: var(--blue); margin-right: 6px; }
.mega-foot:hover { background: #d9ebfa !important; }
.mega h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 4px 12px 8px; font-weight: 600; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; color: var(--white);
  background: var(--navy) url(../images/1.jpg) center / cover no-repeat;
  padding: 140px 0 150px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,29,51,.96) 0%, rgba(11,29,51,.85) 45%, rgba(10,60,110,.55) 100%);
}
.hero .container { position: relative; }
.hero-content { max-width: 700px; }
.hero .eyebrow { color: #7cc4f5; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 span { color: #5db6f2; white-space: nowrap; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: #c8d4e3; max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Highlights strip */
.highlights { position: relative; margin-top: -64px; z-index: 2; }
.highlights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.highlight { padding: 32px; display: flex; gap: 18px; align-items: flex-start; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.icon-badge {
  flex: none; width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
}
.icon-badge svg { width: 26px; height: 26px; }
.highlight h3 { font-size: 18px; margin-bottom: 6px; }
.highlight p { font-size: 15px; margin: 0; color: var(--muted); }
.highlight .hl-link { display: inline-block; margin-top: 6px; font-weight: 600; white-space: nowrap; }

/* About split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.2vw, 38px); }
.split .lead { font-size: 18px; color: var(--text); }
.split-media { position: relative; }
.split-media img { border-radius: 14px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .badge-card {
  position: absolute; left: -28px; bottom: -28px;
  background: var(--navy); color: var(--white); border-radius: 12px; padding: 20px 24px;
  box-shadow: var(--shadow-lg); max-width: 260px;
}
.badge-card strong { display: block; font-size: 30px; line-height: 1.1; color: #5db6f2; }
.badge-card span { font-size: 14px; color: #c8d4e3; }

.check-list { list-style: none; margin: 24px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 28px; transition: box-shadow .2s, transform .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.service-card .icon-badge { margin-bottom: 20px; }
.service-card h3 { font-size: 19px; }
.service-card > p { font-size: 15px; color: var(--muted); }
.service-links { list-style: none; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.service-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 14px; color: var(--text);
}
.service-links a::after { content: "→"; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: .2s; }
.service-links a:hover { color: var(--blue); }
.service-links a:hover::after { opacity: 1; transform: none; }

/* AI band */
.ai-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0a4f86 100%); color: #c8d4e3; }
.ai-band .section-head h2 { color: var(--white); }
.ai-band .section-head p { color: #c8d4e3; }
.ai-band .eyebrow { color: #7cc4f5; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ai-card {
  display: block; padding: 28px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: #c8d4e3; transition: background .2s, border-color .2s, transform .2s;
}
.ai-card:hover { background: rgba(255,255,255,.09); border-color: rgba(93,182,242,.5); color: #c8d4e3; transform: translateY(-2px); }
.ai-card .icon-badge { background: rgba(93,182,242,.15); color: #7cc4f5; margin-bottom: 18px; }
.ai-card h3 { color: var(--white); font-size: 18px; }
.ai-card p { font-size: 15px; margin: 0; }
.ai-band .band-action { text-align: center; margin-top: 44px; }

/* Numbered steps in prose */
.prose ol.steps { list-style: none; padding: 0; margin: 0 0 1.4em; counter-reset: step; display: grid; gap: 14px; }
.prose ol.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 68px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); }
.prose ol.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 700; display: grid; place-items: center; font-size: 15px;
}
.prose ol.steps strong { display: block; color: var(--ink); }
.prose h3[id] { scroll-margin-top: 100px; }

/* Offices */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.office {
  border-radius: 14px; padding: 32px; background: var(--white); border: 1px solid var(--line);
}
.office .city { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.office .city svg { width: 20px; height: 20px; color: var(--blue); }
.office h3 { font-size: 20px; margin: 0; }
.office p { margin: 0; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #0a4f86 100%); color: var(--white); padding: 80px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.cta-band p { color: #c8d4e3; margin: 0; font-size: 18px; }

/* Footer */
.site-footer { background: #08172a; color: #8fa1b8; font-size: 15px; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.site-footer h4 { color: var(--white); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #8fa1b8; }
.site-footer a:hover { color: var(--white); }
.footer-logo { filter: brightness(0) invert(1); opacity: .9; height: 38px; width: auto; margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #5db6f2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Inner pages */
.page-hero {
  position: relative; color: var(--white);
  background: var(--navy) center / cover no-repeat;
  padding: 88px 0 80px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,29,51,.95) 0%, rgba(11,29,51,.82) 55%, rgba(10,60,110,.6) 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 0; max-width: 820px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14px; color: #a9b8cc; margin: 0 0 16px; padding: 0; }
.breadcrumb a { color: #a9b8cc; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

.page-body { padding: 72px 0 96px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prose { font-size: 17px; color: var(--text); max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-size: 26px; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 21px; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.prose ul { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft);
}
.prose .hdblue {
  color: var(--ink); font-weight: 700; font-size: 18px;
  border-left: 3px solid var(--blue); padding-left: 14px; margin-top: 1.6em;
}
.prose b, .prose strong { color: var(--ink); }
.prose .alink { display: inline-flex; font-weight: 600; font-size: 15px; }
.prose .alink::after { content: " →"; white-space: pre; }

.sidebar { position: sticky; top: 100px; display: grid; gap: 24px; }
.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--white); }
.side-card h3 { font-size: 18px; }
.side-card.dark { background: var(--navy); border-color: var(--navy); color: #c8d4e3; }
.side-card.dark h3 { color: var(--white); }
.side-card.dark p { font-size: 15px; }
.side-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.side-card .contact-line { display: flex; gap: 10px; align-items: center; font-size: 15px; margin-top: 14px; }
.side-card .contact-line svg { width: 18px; height: 18px; color: #5db6f2; flex: none; }
.side-card.dark a:not(.btn) { color: var(--white); word-break: break-all; }
.side-nav { list-style: none; display: grid; gap: 2px; }
.side-nav a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--text); font-size: 15px; }
.side-nav a:hover { background: var(--bg-alt); color: var(--blue); }
.side-nav a.current { background: var(--blue-soft); color: var(--blue); font-weight: 600; }

.map-embed { margin-top: 40px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Responsive */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega { width: 640px; }
}
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--nav-top, 76px); left: 0; right: 0; bottom: 0; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 16px 24px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s; visibility: hidden;
  }
  body.nav-open .nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav > ul > li > a, .nav > ul > li > button { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; }
  .nav > ul > li > a:hover, .nav > ul > li > button:hover, .nav > ul > li.open > button { background: none; }
  .dropdown, .mega {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 0 0 12px; width: auto; min-width: 0;
    display: none;
  }
  .nav li.open > .dropdown { display: block; transform: none; }
  .nav li.open > .mega { display: grid; grid-template-columns: 1fr; transform: none; }
  .mega h4 { margin: 12px 4px 4px; }
  .nav .btn { margin: 24px 0 0; justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-media .badge-card { left: 16px; bottom: -24px; }
  .office-grid { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: 1fr; gap: 48px; }
  .sidebar { position: static; }
  .map-embed { aspect-ratio: 4 / 3; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .topbar-contact .hide-sm { display: none; }
  .hero { padding: 96px 0 120px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .service-grid { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .highlight { padding: 24px; }
}
