/* ============================================================
   Dataport Systems Support Services — shared styles
   ============================================================ */

:root {
  --brand: #176EC0;
  --brand-dark: #0F4E89;
  --brand-light: #E8F2FB;
  --ink: #0E1B2C;
  --ink-soft: #36475E;
  --muted: #6B7A8F;
  --line: #E3E9F1;
  --bg: #FFFFFF;
  --bg-alt: #F7FAFD;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(14,27,44,.06), 0 1px 1px rgba(14,27,44,.04);
  --shadow-md: 0 8px 24px rgba(14,27,44,.08);
  --shadow-lg: 0 20px 50px rgba(14,27,44,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 38px; }
.nav-links {
  display: flex; gap: 30px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink-soft); font-weight: 500; font-size: 15px;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a.active { font-weight: 600; }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 10px 18px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  transition: background .15s ease;
}
.nav-cta:hover { background: var(--brand-dark); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Eyebrow / Section header ---------- */
.eyebrow {
  display: inline-block;
  color: var(--brand);
  background: var(--brand-light);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600; font-size: 13px;
  letter-spacing: .3px;
  margin-bottom: 14px;
}
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 16px; font-weight: 800; letter-spacing: -.01em;
}
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background:
    radial-gradient(1200px 500px at 90% -20%, rgba(23,110,192,.10), transparent 60%),
    linear-gradient(180deg, #fff 0%, #F4F8FC 100%);
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-header h1 {
  font-size: clamp(32px, 4vw, 46px);
  margin: 0 0 14px; font-weight: 800; letter-spacing: -.02em;
}
.page-header p {
  font-size: 18px; color: var(--ink-soft);
  max-width: 680px; margin: 0;
}

/* ---------- Hero (home) ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(23,110,192,.12), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(23,110,192,.08), transparent 60%),
    linear-gradient(180deg, #fff 0%, #F4F8FC 100%);
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.1; font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--brand); }
.hero p.lead {
  font-size: 18px; color: var(--ink-soft); max-width: 560px;
  margin: 0 0 32px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px; margin-left: auto;
}
.hero-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
}
.hero-card .ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.hero-card h4 { margin: 0; font-size: 15px; font-weight: 600; }
.hero-card p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.hc-1 { top: 8%; left: 0; animation: float 6s ease-in-out infinite; }
.hc-2 { top: 38%; right: 0; animation: float 6s ease-in-out -2s infinite; }
.hc-3 { bottom: 8%; left: 12%; animation: float 6s ease-in-out -4s infinite; }
.hero-blob {
  position: absolute; inset: 15% 15% 15% 15%;
  background: linear-gradient(135deg, var(--brand) 0%, #4DA3E4 100%);
  border-radius: 50%;
  filter: blur(60px); opacity: .25;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-text h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin: 0 0 20px; font-weight: 800; letter-spacing: -.01em;
}
.about-text p { color: var(--ink-soft); font-size: 16px; margin: 0 0 16px; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 32px;
}
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 18px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.stat .num {
  font-size: 32px; font-weight: 800; color: var(--brand);
  line-height: 1; margin-bottom: 6px;
}
.stat .lbl { font-size: 13px; color: var(--muted); font-weight: 500; }
.bg-alt { background: var(--bg-alt); }

/* Registration card */
.reg-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-md);
}
.reg-head {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
}
.reg-head .ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.reg-head .label { font-size: 13px; color: var(--muted); font-weight: 500; }
.reg-head .name { font-weight: 700; font-size: 17px; }
.reg-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 14px;
}
.reg-grid .kv .k {
  color: var(--muted); font-size: 12px; text-transform: uppercase;
  letter-spacing: .6px; margin-bottom: 4px;
}
.reg-grid .kv .v { font-weight: 600; }
.reg-footer {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line);
}
.reg-footer .k { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.reg-footer .v { font-size: 14px; color: var(--ink-soft); }

/* ---------- Offering cards (3-up) ---------- */
.offerings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.offering {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.offering:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.offering .icon-wrap {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.offering h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.offering p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.offering ul {
  margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px;
}
.offering ul li {
  padding: 6px 0 6px 22px; position: relative; color: var(--ink-soft);
}
.offering ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- Capabilities tabs ---------- */
.cap-wrapper {
  display: grid; grid-template-columns: 280px 1fr; gap: 36px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cap-tabs {
  background: linear-gradient(180deg, #F8FBFE 0%, #EEF4FB 100%);
  border-right: 1px solid var(--line);
  padding: 22px 0;
}
.cap-tab {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 22px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--ink-soft); font-size: 15px; font-weight: 500;
  text-align: left; transition: all .15s ease;
  border-left: 3px solid transparent;
}
.cap-tab:hover { background: rgba(23,110,192,.06); color: var(--brand); }
.cap-tab.active {
  background: #fff; color: var(--brand); font-weight: 600;
  border-left-color: var(--brand);
}
.cap-tab .tab-ico { width: 20px; height: 20px; flex-shrink: 0; }
.cap-panels { padding: 38px 40px; }
.cap-panel { display: none; }
.cap-panel.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.cap-panel h3 { margin: 0 0 8px; font-size: 24px; font-weight: 700; }
.cap-panel .systems { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.cap-panel .systems strong { color: var(--ink-soft); font-weight: 600; }
.scope-group { margin-bottom: 24px; }
.scope-group h4 {
  display: inline-block;
  margin: 0 0 12px; font-size: 13px; font-weight: 600;
  color: var(--brand); text-transform: uppercase; letter-spacing: .8px;
  padding: 4px 10px; background: var(--brand-light); border-radius: 6px;
}
.scope-list { list-style: none; padding: 0; margin: 0; }
.scope-list li {
  position: relative; padding: 8px 0 8px 28px;
  font-size: 15px; color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.scope-list li:last-child { border-bottom: 0; }
.scope-list li::before {
  content: ''; position: absolute; left: 4px; top: 16px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- Clients ---------- */
.clients-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.client {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 26px 18px;
  text-align: center; font-weight: 600; font-size: 15px;
  color: var(--ink-soft);
  transition: all .2s ease;
  display: flex; align-items: center; justify-content: center;
  min-height: 90px;
}
.client:hover {
  border-color: var(--brand); color: var(--brand);
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}

/* Client detailed list */
.client-detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.client-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.client-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand); }
.client-card h3 {
  margin: 0 0 6px; font-size: 18px; font-weight: 700;
}
.client-card .industry {
  display: inline-block;
  font-size: 12px; color: var(--brand); background: var(--brand-light);
  padding: 3px 10px; border-radius: 999px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 12px;
}
.client-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, #0F4E89 100%);
  color: #fff;
}
.cta-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}
.cta-card h2 {
  color: #fff; font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 16px; font-weight: 800; letter-spacing: -.01em;
}
.cta-card p {
  color: rgba(255,255,255,.85);
  font-size: 17px; max-width: 580px;
  margin: 0 auto 32px;
}
.cta-card .btn-primary { background: #fff; color: var(--brand); }
.cta-card .btn-primary:hover { background: var(--brand-light); color: var(--brand-dark); }
.cta-card .btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.4);
}
.cta-card .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start;
}
.contact-info h3 { margin: 0 0 16px; font-size: 22px; font-weight: 700; }
.contact-info p { color: var(--ink-soft); font-size: 15px; margin: 0 0 28px; }
.contact-item {
  display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start;
}
.contact-item .ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--brand-light); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-item .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-weight: 600; }
.contact-item .value { font-size: 15px; font-weight: 500; color: var(--ink); }
.contact-item a.value { color: var(--brand); }
.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; font: inherit; font-size: 15px;
  background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(23,110,192,.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 18px; }
.form-row .field { margin-bottom: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #0B1929; color: #B5C2D3;
  padding: 50px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 36px;
}
.footer-brand img { height: 36px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: 14px; max-width: 360px; margin: 0; color: #94A3B8; }
.footer-col h5 { color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #B5C2D3; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #6B7A8F;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { margin: 0 auto; max-width: 380px; }
  .offerings { grid-template-columns: 1fr; }
  .cap-wrapper { grid-template-columns: 1fr; }
  .cap-tabs {
    display: flex; overflow-x: auto; padding: 14px;
    border-right: 0; border-bottom: 1px solid var(--line);
  }
  .cap-tab { white-space: nowrap; padding: 10px 16px; border-left: 0; border-bottom: 3px solid transparent; }
  .cap-tab.active { border-left: 0; border-bottom-color: var(--brand); }
  .cap-panels { padding: 28px 24px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 70px 0; }
  .hero { padding: 60px 0 70px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 20px 24px; gap: 18px;
  }
  .stats { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
