/* ============================================================
   DRAGONTECH — Network Architecture & Consulting
   Color system:
   --red   #ae2e35  brand primary (preserved from original)
   --navy  #15263b  third tie-in color (trust / IT infrastructure)
   --ink   #2a2a2a  body text (preserved from original)
   white background (preserved)
   ============================================================ */

:root {
  --red: #ae2e35;
  --red-dark: #8c2227;
  --red-soft: #f6e7e8;
  --navy: #15263b;
  --navy-2: #1d324d;
  --navy-light: #27405f;
  --ink: #2a2a2a;
  --muted: #5d6773;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-navy-tint: #eef2f7;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(21, 38, 59, .08), 0 1px 2px rgba(21, 38, 59, .06);
  --shadow-md: 0 10px 30px rgba(21, 38, 59, .12);
  --shadow-lg: 0 24px 60px rgba(21, 38, 59, .18);
  --maxw: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Crimson Text", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red-dark); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--navy);
  font-size: 1.25rem;
}
.brand:hover { color: var(--navy); }
.brand .logo-mark { width: 38px; height: 38px; flex: none; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b { font-weight: 800; }
.brand .word span {
  font-size: .58rem; font-weight: 600; letter-spacing: .22em;
  color: var(--muted); text-transform: uppercase; margin-top: 3px;
}
.brand .word b em { color: var(--red); font-style: normal; }
.brand-emblem { height: 48px; width: auto; display: block; flex: none; }
.footer-brand-link { display: inline-flex; align-items: center; }
.footer-brand-link .brand-emblem { background: #fff; border-radius: 50%; padding: 3px; }
.footer-brand-link .word b { color: #fff; }
.footer-brand-link .word span { color: rgba(255,255,255,.5); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--navy);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav-links a.cta {
  background: var(--red);
  color: #fff;
  margin-left: 8px;
  box-shadow: var(--shadow-sm);
}
.nav-links a.cta:hover { background: var(--red-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, rgba(13,23,38,.92) 0%, rgba(21,38,59,.82) 45%, rgba(140,34,39,.72) 100%),
              var(--hero-img) center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(174,46,53,.35), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 100px 0 110px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,.9); max-width: 620px; margin: 0 0 32px; }
.hero .eyebrow { color: #ff8c92; }
.hero .eyebrow::before { background: #ff8c92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats .stat { background: rgba(13,23,38,.55); padding: 26px 24px; backdrop-filter: blur(2px); }
.hero-stats .stat b { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stats .stat span { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500; }

/* page hero (compact, for inner pages) */
.page-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(120deg, rgba(13,23,38,.92), rgba(21,38,59,.85) 60%, rgba(140,34,39,.7)),
              var(--hero-img) center/cover no-repeat;
}
.page-hero .container { position: relative; z-index: 1; padding: 86px 24px 78px; }
.page-hero .eyebrow { color: #ff8c92; }
.page-hero .eyebrow::before { background: #ff8c92; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 640px; font-size: 1.1rem; margin: 0; }

/* ---------------- Sections ---------------- */
section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy {
  background: var(--navy);
  color: rgba(255,255,255,.86);
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: #ff8c92; }
.section-navy .eyebrow::before { background: #ff8c92; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-navy .section-head p { color: rgba(255,255,255,.75); }

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

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d7dbe2; }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* value prop cards (over navy) */
.value-card {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, border-color .2s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: rgba(255,140,146,.5); }
.value-card .icon { background: rgba(174,46,53,.22); color: #ff8c92; }
.value-card h3 { color: #fff; }
.value-card p { color: rgba(255,255,255,.75); margin: 0; }

/* competency list pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 100px; padding: 10px 20px;
  font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }

/* checklist */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-top: 2px;
}
.check-list .tick svg { width: 14px; height: 14px; }

/* media split (image + text) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .media { position: relative; }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split .media .badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--red); color: #fff;
  padding: 18px 24px; border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.split .media .badge b { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.split .media .badge span { font-size: .82rem; opacity: .9; }

/* ---------------- Logos / cert strip ---------------- */
.cert-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 14px 20px;
  font-weight: 600; color: #fff;
}
.cert-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff8c92; }

/* ---------------- Clients (corporate experience) ---------------- */
.client-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.client-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.client-card .who { }
.client-logo {
  width: 92px; height: 92px; object-fit: contain;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.client-card .who h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.25rem; }
.client-card .who .role { color: var(--red); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.client-card p { margin: 0 0 16px; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .78rem; font-weight: 600;
  background: var(--bg-navy-tint); color: var(--navy);
  padding: 5px 12px; border-radius: 6px;
}

.timeline-note {
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  padding: 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.timeline-note h3 { color: #fff; }
.timeline-note p { color: rgba(255,255,255,.8); margin: 6px 0 0; }
.timeline-note .tag-row .tag { background: rgba(255,255,255,.12); color: #fff; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-card h2 { color: #fff; }
.contact-card .person { display: flex; align-items: center; gap: 16px; margin: 24px 0 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-card .avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: var(--red); display: grid; place-items: center;
  font-weight: 800; font-size: 1.3rem; color: #fff;
}
.contact-card .person b { display: block; font-size: 1.2rem; }
.contact-card .person span { color: #ff8c92; font-weight: 600; font-size: .9rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.08); display: grid; place-items: center; color: #ff8c92;
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list .label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.contact-list a, .contact-list .val { color: #fff; font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: #ff8c92; }

.contact-side h2 { margin-bottom: 12px; }
.contact-side > p { color: var(--muted); font-size: 1.08rem; }
.map-frame { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  background: linear-gradient(120deg, rgba(21,38,59,.95), rgba(140,34,39,.9)),
              var(--hero-img, none) center/cover no-repeat;
}
.cta-band .container { padding: 80px 24px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------------- Footer ---------------- */
.site-footer { background: #0f1828; color: rgba(255,255,255,.7); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand .word span { color: rgba(255,255,255,.5); }
.footer-brand p { max-width: 320px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.7); font-weight: 500; }
.footer-col a:hover { color: #ff8c92; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------------- Capability statement ---------------- */
.snapshot-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.data-card {
  background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-md);
}
.data-card h3 { color: #fff; margin-bottom: 4px; }
.data-card .sub { color: rgba(255,255,255,.65); font-size: .92rem; margin: 0 0 8px; }
.data-list { display: grid; gap: 0; margin-top: 14px; }
.data-list .row { display: grid; grid-template-columns: 160px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.data-list .row:first-child { border-top: 0; }
.data-list .dt { color: rgba(255,255,255,.6); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; }
.data-list .dd { color: #fff; font-weight: 600; font-size: .98rem; }
.data-list .dd a { color: #fff; }
.data-list .dd a:hover { color: #ff8c92; }
.data-list .dd.todo { color: #ff8c92; font-weight: 600; }
.pp-impact { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); margin: 0 0 14px; font-size: .92rem; }
.pp-impact svg { width: 18px; height: 18px; }

/* ---------------- Team ---------------- */
.team-group { display: grid; gap: 28px; }
.team-subhead { margin: 56px 0 -4px; display: flex; align-items: center; gap: 18px; }
.team-subhead h2 { margin: 0; white-space: nowrap; }
.team-subhead::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.profile {
  display: grid; grid-template-columns: 260px 1fr; gap: 38px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.profile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.profile.featured { border-top: 4px solid var(--red); }
.profile .photo { position: relative; text-align: center; }
.profile .photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.profile .photo .flag {
  display: inline-block; margin-top: 12px;
  background: var(--red); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px;
}
.profile .pname { margin: 0 0 3px; }
.profile .prole { color: var(--red); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.profile .psum { color: var(--muted); margin: 16px 0 0; font-size: 1.02rem; }
.profile h4 { color: var(--navy); font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; margin: 26px 0 12px; }
.cert-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-chips .c { font-size: .82rem; font-weight: 600; color: var(--navy); background: var(--bg-navy-tint); border-radius: 6px; padding: 6px 12px; }
.exp-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.exp-list li { padding-left: 20px; position: relative; }
.exp-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.exp-list .eh { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.exp-list .eh .org { font-weight: 700; color: var(--navy); }
.exp-list .eh .ttl { color: var(--ink); font-weight: 600; }
.exp-list .eh .yr { color: var(--muted); font-size: .85rem; font-weight: 600; }
.exp-list p { margin: 5px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; border-radius: 8px; }
  .nav-links a.cta { margin: 6px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
  .snapshot-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 900px) {
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .media .badge { left: 16px; bottom: -18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .timeline-note { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; gap: 22px; }
  .profile .photo img { max-width: 260px; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .client-card { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
