/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:   #0b3866;
  --cobalt: #145a96;
  --sky:    #1886c3;
  --ink:    #152344;
  --mid:    #607194;
  --muted:  #AFC0D9;
  --border: #D4E2F0;
  --ice:    #EAF5FC;
  --bg:     #F5F9FD;
  --white:  #FFFFFF;
}

/* ─── RESET ──────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display:block; max-width:100%; }
a { text-decoration:none; }
ul { list-style:none; }

h1 { font-size:clamp(36px,5vw,60px); font-weight:800; line-height:1.1; letter-spacing:-1.5px; }
h2 { font-size:clamp(26px,3.5vw,40px); font-weight:800; line-height:1.15; letter-spacing:-1px; color:var(--ink); }
h3 { font-size:20px; font-weight:700; color:var(--ink); }
p  { font-size:16px; line-height:1.75; color:var(--mid); }
strong { font-weight:700; color:var(--ink); }
.sky { color:var(--sky); }

.section-label {
  display:inline-block;
  font-size:11px; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--sky);
  margin-bottom:14px;
}

/* ─── TOP BAR ────────────────────────────────────────────── */
.topbar {
  position:fixed; top:0; left:0; right:0; z-index:201;
  height:36px;
  background:var(--white);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 60px;
  transition:transform .25s ease;
}
.topbar-group { display:flex; align-items:center; gap:20px; }
.topbar-item {
  display:flex; align-items:center; gap:6px;
  font-size:12px; color:var(--mid); letter-spacing:.01em;
}
.topbar-item svg { width:13px; height:13px; stroke:var(--sky); flex-shrink:0; }
.topbar-dot { width:4px; height:4px; border-radius:50%; background:var(--border); }
@media(max-width:860px){ .topbar { display:none; } }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position:fixed; top:36px; left:0; right:0; z-index:200;
  height:68px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 60px;
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  transition:box-shadow .2s, top .2s;
}
.nav.scrolled { box-shadow:0 4px 24px rgba(21,35,68,.07); top:0; }

.nav-logo { display:flex; align-items:center; gap:10px; }
.nav-logo img { height:48px; width:auto; border-radius:6px; }
.nav-logo-name {
  font-size:10px; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--mid); line-height:1;
}
.nav-links { display:flex; align-items:center; gap:34px; }
.nav-links a {
  font-size:15px; font-weight:500; color:var(--mid);
  transition:color .15s; letter-spacing:.1px;
}
.nav-links a:hover { color:var(--navy); }
.nav-links a.active-page { color:var(--navy); font-weight:600; }
.nav-cta {
  background:linear-gradient(135deg,var(--navy),var(--sky));
  color:var(--white) !important;
  padding:9px 22px; border-radius:999px;
  font-weight:600 !important; font-size:14px !important;
  transition:opacity .15s !important;
}
.nav-cta:hover { opacity:.88; }

/* Mobile burger */
.burger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:6px; }
.burger span { width:22px; height:1.5px; background:var(--navy); border-radius:2px; transition:.3s; }
.mob-nav {
  display:none; position:fixed; top:104px; left:0; right:0;
  background:var(--white); border-bottom:1px solid var(--border);
  padding:12px 0; z-index:199; flex-direction:column;
}
.mob-nav.open { display:flex; }
.mob-nav a {
  padding:14px 28px; font-size:15px; color:var(--ink);
  border-bottom:1px solid var(--border); transition:background .15s;
}
.mob-nav a:hover { background:var(--bg); }
.mob-nav a.active-page { color:var(--navy); font-weight:600; }

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  position:relative;
  min-height:46vh;
  display:flex; align-items:center;
  padding:140px 0 80px;
  overflow:hidden;
  background:url('../images/banner.jpeg') center 40% / cover no-repeat;
}
.page-hero::before {
  content:'';
  position:absolute; inset:0; z-index:0;
  background:linear-gradient(
    120deg,
    rgba(10,18,56,.95) 0%,
    rgba(21,38,100,.88) 55%,
    rgba(17,88,168,.74) 100%
  );
}
.page-hero-container {
  position:relative; z-index:1;
  width:100%; max-width:1360px;
  margin:0 auto; padding:0 60px;
}
.page-hero-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase;
  color:rgba(255,255,255,.62); margin-bottom:18px;
}
.page-hero-eyebrow::before {
  content:''; display:inline-block; width:20px; height:2px; background:var(--sky);
}
.page-hero h1 { color:var(--white); max-width:680px; }
.page-hero h1 strong { color:var(--sky); }
.page-hero p {
  margin-top:18px; font-size:18px;
  color:rgba(255,255,255,.68); line-height:1.72; max-width:600px;
}
.breadcrumb {
  display:flex; align-items:center; gap:8px;
  margin-top:32px; font-size:13px; color:rgba(255,255,255,.42);
}
.breadcrumb a { color:rgba(255,255,255,.55); transition:color .15s; }
.breadcrumb a:hover { color:var(--white); }
.breadcrumb span { font-size:11px; }

/* ─── SERVICES INTRO ─────────────────────────────────────── */
.svc-intro-shell {
  background:var(--white);
  border-bottom:1px solid var(--border);
}
.svc-intro-wrap {
  max-width:1360px; margin:0 auto;
  padding:80px 60px;
  text-align:center;
}
.svc-intro-wrap p {
  max-width:760px; margin:0 auto;
  font-size:18px; line-height:1.8; color:var(--mid);
}

/* ─── 4 SERVICE CARDS ────────────────────────────────────── */
.services-shell {
  background:var(--bg);
  border-top:1px solid var(--border);
}
.services-wrap {
  max-width:1360px; margin:0 auto;
  padding:88px 60px;
}
.services-head {
  text-align:center; margin-bottom:60px;
}
.services-head .section-label { margin-bottom:12px; }
.services-head h2 { max-width:640px; margin:0 auto; }

.services-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}

.svc-card {
  background:var(--white);
  border:1px solid var(--border);
  border-radius:20px;
  padding:40px 36px 36px;
  position:relative; overflow:hidden;
  transition:box-shadow .2s, transform .2s, border-color .2s;
  display:flex; flex-direction:column;
}
.svc-card::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--navy), var(--sky));
  opacity:0; transition:opacity .2s;
}
.svc-card:hover {
  box-shadow:0 14px 52px rgba(21,35,68,.10);
  transform:translateY(-4px);
  border-color:rgba(23,136,199,.28);
}
.svc-card:hover::before { opacity:1; }

.svc-card-number {
  display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:14px;
  background:linear-gradient(135deg, var(--navy), var(--sky));
  font-size:16px; font-weight:800; color:var(--white);
  letter-spacing:.04em;
  margin-bottom:24px; flex-shrink:0;
}
.svc-card h3 {
  font-size:22px; font-weight:800; color:var(--ink);
  margin-bottom:14px; letter-spacing:-.4px;
}
.svc-card > p {
  font-size:15px; line-height:1.75; color:var(--mid);
  margin-bottom:20px;
}
.svc-card-bullets {
  display:flex; flex-direction:column; gap:9px;
  margin-bottom:28px; flex:1;
}
.svc-card-bullets li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:14px; color:var(--mid); line-height:1.6;
}
.svc-card-bullets li::before {
  content:'';
  display:inline-block; width:6px; height:6px; border-radius:50%;
  background:linear-gradient(135deg, var(--navy), var(--sky));
  flex-shrink:0; margin-top:7px;
}
.svc-learn-more {
  display:inline-flex; align-items:center; gap:6px;
  font-size:14px; font-weight:700; color:var(--sky);
  transition:gap .15s; align-self:flex-start;
}
.svc-learn-more:hover { gap:10px; }
.svc-learn-more svg { width:14px; height:14px; stroke:var(--sky); fill:none; stroke-width:2.5; }

/* ─── CAPABILITIES ALT LAYOUT ────────────────────────────── */
.cap-shell { background: var(--white); }

.cap-intro {
  background: var(--bg);
  text-align: center;
  padding: 80px 60px 72px;
  border-bottom: 1px solid var(--border);
}
.cap-intro h2 { margin-bottom: 12px; }
.cap-intro p { max-width: 620px; margin: 0 auto; font-size: 17px; }

.cap-row {
  padding: 72px 60px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.cap-row.alt-bg { background: var(--bg); }

.cap-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: center;
}
.cap-alt.reverse { direction: rtl; }
.cap-alt.reverse > * { direction: ltr; }

.cap-alt-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 360px;
  box-shadow: 0 20px 60px rgba(21,35,68,.12);
}
.cap-alt-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cap-alt-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(21,35,68,.25) 0%, rgba(23,136,199,.10) 100%);
  border-radius: 16px;
}

.cap-alt-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cap-alt-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sky);
  margin-bottom: 14px;
}
.cap-alt-eyebrow span {
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--sky);
  border-radius: 2px;
}
.cap-alt-content h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800; color: var(--ink);
  letter-spacing: -.6px; line-height: 1.2;
  margin-bottom: 28px;
}

.cap-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.cap-item-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(21,35,68,.05);
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cap-item-card:hover {
  background: linear-gradient(135deg, #0c5e92 0%, #177fc0 100%);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(21,35,68,.12);
}
.cap-item-card:hover .cap-item-title,
.cap-item-card:hover .cap-item-desc {
  color: #fff;
}
.cap-item-card:hover .cap-item-dot {
  background: #fff;
}
.cap-item-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  flex-shrink: 0; margin-top: 6px;
}
.cap-item-text {}
.cap-item-title {
  font-size: 14px; font-weight: 700; color: var(--ink);
  line-height: 1.35; margin-bottom: 4px;
}
.cap-item-desc {
  font-size: 13px; line-height: 1.55; color: var(--mid);
}

@media(max-width:960px){
  .cap-alt, .cap-alt.reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .cap-alt-img { min-height: 240px; }
  .cap-items { grid-template-columns: 1fr; }
  .cap-item-card { padding: 14px 14px; }
  .cap-row { padding: 52px 24px; }
  .cap-intro { padding: 56px 24px; }
}

/* ─── WHY TRAQENTA ───────────────────────────────────────── */
.why-shell {
  background:var(--ink);
  border-top:1px solid rgba(255,255,255,.07);
}
.why-wrap {
  max-width:1360px; margin:0 auto;
  padding:88px 60px;
}
.why-head {
  text-align:center; margin-bottom:56px;
}
.why-head .section-label { color:rgba(255,255,255,.48); }
.why-head h2 { color:var(--white); max-width:600px; margin:0 auto; }

.why-carousel {
  position:relative;
}
.why-carousel .swiper-wrapper {
  align-items:stretch;
}
.why-carousel .swiper-slide {
  height:auto;
}
.why-card {
  height:100%;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  padding:32px 28px;
  transition:background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.why-card:hover {
  background:rgba(255,255,255,.09);
  border-color:rgba(23,136,199,.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,.14);
}
.why-card-ico {
  width:48px; height:48px; border-radius:13px;
  background:rgba(23,136,199,.18);
  border:1px solid rgba(23,136,199,.28);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.why-card-ico svg { width:22px; height:22px; stroke:var(--sky); fill:none; stroke-width:2; }
.why-card h4 {
  font-size:16px; font-weight:800; color:var(--white);
  margin-bottom:10px; letter-spacing:-.2px;
}
.why-card p {
  font-size:14px; line-height:1.7;
  color:rgba(255,255,255,.55);
  margin:0;
}
.why-carousel .slider-arrow {
  top: calc(50% - 28px);
}
.why-carousel .slider-arrow.prev { left: -20px; }
.why-carousel .slider-arrow.next { right: -20px; }
.why-pagination {
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:22px;
}
.why-pagination .swiper-pagination-bullet {
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.25);
  opacity:1;
  transition:width .25s ease, background .25s ease;
}
.why-pagination .swiper-pagination-bullet-active {
  width:24px;
  background:var(--sky);
}

/* ─── CTA ─────────────────────────────────────────────────── */
.cta-shell {
  position:relative; overflow:hidden;
  background:url('../images/656.jpg') center center / cover no-repeat;
}
.cta-shell::before {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(
    110deg,
    rgba(13,21,60,.92) 0%,
    rgba(21,38,100,.86) 45%,
    rgba(23,136,199,.70) 100%
  );
  pointer-events:none;
}
.cta-inner {
  position:relative; z-index:1;
  max-width:1360px; margin:0 auto;
  padding:88px 60px;
  display:flex; align-items:center; justify-content:space-between;
  gap:40px; flex-wrap:wrap;
}
.cta-copy h2 { color:var(--white); max-width:520px; }
.cta-copy p {
  margin-top:12px; font-size:18px;
  color:rgba(255,255,255,.72); line-height:1.72; max-width:460px;
}
.cta-btns { display:flex; gap:14px; flex-shrink:0; flex-wrap:wrap; }
.btn-white {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--white); color:var(--navy);
  font-family:'DM Sans',sans-serif; font-size:14px; font-weight:700;
  padding:14px 28px; border-radius:999px;
  transition:opacity .15s; white-space:nowrap;
}
.btn-white:hover { opacity:.88; }
.btn-ghost-cta {
  display:inline-flex; align-items:center; gap:8px;
  background:transparent; color:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.22);
  font-family:'DM Sans',sans-serif; font-size:14px; font-weight:500;
  padding:13px 26px; border-radius:999px;
  transition:border-color .15s, color .15s; white-space:nowrap;
}
.btn-ghost-cta:hover { border-color:rgba(255,255,255,.5); color:var(--white); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background:#001327; border-top:1px solid rgba(255,255,255,.06); }
.footer-inner {
  max-width:1360px; margin:0 auto;
  padding:64px 60px 48px;
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:0 48px; align-items:start;
}
.footer-brand img { height:48px; width:auto; border-radius:6px; margin-bottom:18px; }
.footer-brand p { font-size:14px; color:rgba(255,255,255,.46); line-height:1.75; max-width:280px; }
.footer-social-label {
  font-size:11px; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:rgba(255,255,255,.36); margin-top:28px; margin-bottom:14px;
}
.footer-socials { display:flex; gap:10px; }
.footer-social-btn {
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  transition:background .15s, border-color .15s;
}
.footer-social-btn:hover { background:var(--sky); border-color:var(--sky); }
.footer-social-btn svg { width:16px; height:16px; fill:rgba(255,255,255,.7); }
.footer-social-btn:hover svg { fill:var(--white); }
.footer-col h4 { font-size:13px; font-weight:700; color:var(--white); margin-bottom:20px; }
.footer-col ul { list-style:none; padding:0; margin:0; }
.footer-col li { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.footer-col li::before { content:''; width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.2); flex-shrink:0; }
.footer-col a { font-size:14px; color:rgba(255,255,255,.52); transition:color .15s; }
.footer-col a:hover { color:var(--white); }
.footer-bottom {
  max-width:1360px; margin:0 auto; padding:20px 60px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px;
  border-top:1px solid rgba(255,255,255,.07);
}
.footer-bottom p { font-size:13px; color:rgba(255,255,255,.28); }
.footer-back-top {
  width:40px; height:40px; border-radius:10px;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  transition:background .15s; cursor:pointer;
}
.footer-back-top:hover { background:var(--sky); border-color:var(--sky); }
.footer-back-top svg { width:16px; height:16px; stroke:rgba(255,255,255,.7); }
.footer-bottom-links { display:flex; gap:24px; }
.footer-bottom-links a { font-size:13px; color:rgba(255,255,255,.36); transition:color .15s; }
.footer-bottom-links a:hover { color:var(--white); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media(max-width:1200px) {
  .footer-inner { grid-template-columns:1fr 1fr; gap:40px; }
}
@media(max-width:1000px) {
  .services-grid { grid-template-columns:1fr; }
}
@media(max-width:860px) {
  .nav { padding:0 24px; }
  .nav-links { display:none; }
  .burger { display:flex; }
  .mob-nav { top:68px; }
  .page-hero { padding:100px 0 60px; min-height:auto; }
  .page-hero-container { padding:0 24px; }
  .svc-intro-wrap { padding:56px 24px; }
  .services-wrap { padding:64px 24px; }
  .why-wrap { padding:64px 24px; }
  .why-carousel .slider-arrow { display:none; }
  .cta-inner { padding:60px 24px; flex-direction:column; align-items:flex-start; }
  .footer-inner { grid-template-columns:1fr; gap:32px; padding:44px 24px 28px; }
  .footer-bottom { padding:16px 24px; }
  .footer-bottom-links { display:none; }
}
@media(max-width:580px) {
  .services-grid { grid-template-columns:1fr; }
  .svc-card { padding:32px 24px 28px; }
}
body { font-size:1rem; }
p { font-size:1rem; }
