:root {
  --ink: #0b1324;
  --navy: #0e2242;
  --navy-2: #14345f;
  --blue: #0867d1;
  --cyan: #3ec7d3;
  --paper: #f7f9fc;
  --white: #ffffff;
  --muted: #5a6678;
  --line: #dce4ee;
  --soft-blue: #eaf4ff;
  --soft-cyan: #e9fbfc;
  --max: 1160px;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(14, 34, 66, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable", "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(247, 249, 252, 0.94);
  border-bottom: 1px solid rgba(220, 228, 238, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(calc(100% - 36px), var(--max));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 780;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px 4px 10px 4px;
  font-size: 0.82rem;
  letter-spacing: -0.06em;
  box-shadow: inset -7px -7px 0 rgba(62, 199, 211, 0.28);
}

.brand span:last-child small {
  display: block;
  margin-top: -5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links > a,
.nav-services summary {
  position: relative;
  padding: 8px 0;
  color: #26344a;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 650;
}

.nav-links > a:hover,
.nav-links > a:focus-visible,
.nav-links > a[aria-current="page"],
.nav-services summary:hover,
.nav-services summary:focus-visible,
.nav-services.is-current summary { color: var(--blue); }

.nav-links > a[aria-current="page"]::after,
.nav-services.is-current summary::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--blue);
}

.nav-services { position: relative; }
.nav-services summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; }
.nav-services summary::-webkit-details-marker { display: none; }
.nav-services summary::after { content: "⌄"; display: inline-block; color: var(--muted); font-size: 1rem; line-height: 1; transition: transform .18s ease; }
.nav-services[open] summary::after { transform: rotate(180deg); }

.services-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 14px);
  left: 50%;
  width: 310px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.services-dropdown::before {
  content: "";
  position: absolute;
  top: -15px;
  right: 0;
  left: 0;
  height: 15px;
}

.services-dropdown a {
  display: block;
  padding: 10px 12px;
  color: var(--navy);
  border-radius: 8px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 680;
}

.services-dropdown a:hover,
.services-dropdown a:focus-visible { color: var(--blue); background: var(--soft-blue); }
.services-dropdown a:first-child { margin-bottom: 5px; padding-bottom: 11px; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; }

.nav-links .nav-cta {
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 9px;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible,
.nav-links .nav-cta[aria-current="page"] { color: var(--white); background: var(--blue); }
.nav-links .nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
}

.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) 0 72px;
  background:
    linear-gradient(90deg, rgba(8,103,209,0.055) 1px, transparent 1px),
    linear-gradient(rgba(8,103,209,0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -100px;
  width: 360px;
  height: 360px;
  border: 74px solid rgba(62, 199, 211, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--cyan); }

h1, h2, h3 { margin-top: 0; line-height: 1.13; letter-spacing: -0.035em; }
h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(2.75rem, 6.5vw, 5.55rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { margin-bottom: 10px; font-size: 1.25rem; }

.hero-copy > p:not(.eyebrow) {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 19px;
  border: 1px solid var(--navy);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--navy); }
.button-primary:hover { background: var(--blue); border-color: var(--blue); }
.button-secondary { color: var(--navy); background: rgba(255,255,255,.76); }
.button-secondary:hover { background: var(--white); }

.hero-note {
  padding: 24px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-note strong { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.hero-note p { margin: 0; color: #cbd9ec; }
.hero-note .mini-rule { width: 46px; height: 4px; margin-bottom: 20px; background: var(--cyan); border-radius: 8px; }

.capability-panel {
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  box-shadow: 0 24px 65px rgba(14,34,66,.18);
}

.capability-panel-head { padding: 22px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.capability-panel-head span { display: block; margin-bottom: 5px; color: var(--cyan); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.capability-panel-head strong { display: block; font-size: 1.12rem; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.capability-grid a { min-width: 0; padding: 17px; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.capability-grid a:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
.capability-grid img { display: block; width: 72px; height: 47px; margin-bottom: 10px; border-radius: 7px; }
.capability-grid span { display: block; font-size: .82rem; font-weight: 750; line-height: 1.35; }
.capability-grid a:hover, .capability-grid a:focus-visible { background: var(--navy-2); }
.capability-panel > p { margin: 0; padding: 18px 22px 22px; color: #cbd9ec; font-size: .9rem; line-height: 1.55; }

.trust-strip { background: var(--white); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 22px 24px; text-align: center; font-size: .9rem; font-weight: 750; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }

.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-white { background: var(--white); }
.section-navy { color: var(--white); background: var(--navy); }

.section-intro { max-width: 750px; margin-bottom: 42px; }
.section-intro p, .lead { color: var(--muted); font-size: 1.08rem; }
.section-navy .section-intro p, .section-navy .lead { color: #c8d6ea; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.service-card {
  position: relative;
  min-height: 280px;
  padding: clamp(26px, 4vw, 38px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(14,34,66,.055);
}

.service-card::after {
  content: attr(data-number);
  position: absolute;
  right: 20px;
  bottom: -35px;
  color: rgba(8,103,209,.075);
  font-size: 8rem;
  font-weight: 850;
  line-height: 1;
}

.service-card p { max-width: 530px; color: var(--muted); }
.service-card a { position: relative; z-index: 1; display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 750; text-decoration: none; }
.service-card a:hover { text-decoration: underline; text-underline-offset: 4px; }

.service-thumbnail {
  display: block;
  width: 138px;
  height: 90px;
  margin-bottom: 24px;
  object-fit: cover;
  background: var(--soft-blue);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.home-services .service-card { min-height: 390px; }
.home-services .service-thumbnail { width: 100%; height: auto; aspect-ratio: 640 / 420; margin-bottom: 28px; object-fit: contain; border-radius: 14px; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(42px, 8vw, 100px); align-items: start; }
.split-copy p { color: var(--muted); }

.step-list { display: grid; gap: 1px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); overflow: hidden; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; background: var(--navy-2); }
.step-number { color: var(--cyan); font-weight: 850; font-size: 1.25rem; }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: #cbd9ec; }

.page-hero { padding: clamp(66px, 9vw, 108px) 0 62px; background: var(--navy); color: var(--white); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.55rem, 5.7vw, 4.7rem); }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero p:not(.eyebrow) { max-width: 760px; margin: 0; color: #cbd9ec; font-size: 1.16rem; }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 400px);
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
}

.page-visual {
  margin: 0;
  padding: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  box-shadow: 0 24px 65px rgba(4,14,30,.26);
}

.page-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 26px;
  color: var(--cyan);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 750;
}
.back-link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.content-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(42px, 8vw, 96px); }
.content-grid h2 { position: sticky; top: 112px; }

.feature-list { display: grid; gap: 14px; }
.feature {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.feature p { margin: 0; color: var(--muted); }

.plain-list { margin: 22px 0 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); }
.plain-list li::before { content: ""; position: absolute; top: 22px; left: 2px; width: 9px; height: 9px; background: var(--cyan); border: 3px solid var(--soft-cyan); border-radius: 50%; }

.callout { padding: 30px; background: var(--soft-blue); border-left: 5px solid var(--blue); border-radius: 0 14px 14px 0; }
.callout h3 { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-card { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.detail-card p { margin-bottom: 0; color: var(--muted); }

.cta-band { padding: clamp(38px, 7vw, 64px); color: var(--white); background: var(--blue); border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.cta-band h2 { margin-bottom: 8px; font-size: clamp(1.85rem, 3.5vw, 2.7rem); }
.cta-band p { margin: 0; color: #e4f1ff; }
.cta-band .button { flex: 0 0 auto; color: var(--navy); background: var(--white); border-color: var(--white); }

.company-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.company-table th, .company-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.company-table th { width: 34%; color: var(--muted); font-size: .9rem; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }

.about-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about-service {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 25px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.about-service:hover, .about-service:focus-visible { border-color: #a9c8eb; box-shadow: 0 15px 35px rgba(14,34,66,.08); transform: translateY(-2px); }
.about-service img { display: block; width: 112px; height: 74px; border: 1px solid var(--line); border-radius: 10px; }
.about-service h3 { margin-bottom: 7px; }
.about-service p { margin: 0 0 12px; color: var(--muted); }
.about-service span { color: var(--blue); font-size: .9rem; font-weight: 750; }

.audience-list { display: grid; gap: 1px; overflow: hidden; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.audience-list div { padding: 24px; background: var(--navy-2); }
.audience-list strong { display: block; margin-bottom: 5px; color: var(--white); font-size: 1.05rem; }
.audience-list span { display: block; color: #cbd9ec; }

.delivery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.delivery-grid article { padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.delivery-grid article > span { display: block; margin-bottom: 30px; color: var(--blue); font-size: .84rem; font-weight: 850; letter-spacing: .08em; }
.delivery-grid article p { margin-bottom: 0; color: var(--muted); }
.about-callout { margin-top: 20px; }

.contact-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-panel > div { padding: clamp(30px, 5vw, 52px); background: var(--white); }
.contact-link { display: inline-block; color: var(--blue); font-size: clamp(1.18rem, 2.4vw, 1.55rem); font-weight: 800; text-underline-offset: 5px; }
.contact-meta { color: var(--muted); }

.legal-copy { max-width: 840px; }
.legal-copy h2 { margin-top: 46px; font-size: 1.65rem; }
.legal-copy h3 { margin-top: 30px; }
.legal-copy p, .legal-copy li { color: #3e4b5d; }

.site-footer { padding: 56px 0 28px; color: #c6d3e6; background: #08172d; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 48px; }
.footer-brand { color: var(--white); font-size: 1.15rem; font-weight: 800; }
.footer-copy { max-width: 440px; color: #9fb0c8; }
.footer-heading { margin: 0 0 12px; color: var(--white); font-weight: 800; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #c6d3e6; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: #8fa2bd; font-size: .84rem; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 880px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: grid; }
  .nav-links a { padding: 12px; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-services { width: 100%; }
  .nav-services summary { padding: 12px; }
  .nav-services.is-current summary::before { display: none; }
  .services-dropdown { position: static; width: auto; margin: 0 8px 8px; box-shadow: none; transform: none; }
  .hero-grid, .split, .content-grid, .contact-panel, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-note, .capability-panel { max-width: 560px; }
  .page-visual { width: min(100%, 430px); }
  .content-grid h2 { position: static; }
  .detail-grid { grid-template-columns: 1fr; }
  .about-service-grid, .delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .nav-shell, .container { width: min(calc(100% - 26px), var(--max)); }
  .brand span:last-child { font-size: .92rem; }
  .service-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-service-grid, .delivery-grid { grid-template-columns: 1fr; }
  .about-service { grid-template-columns: 88px minmax(0, 1fr); gap: 17px; padding: 20px; }
  .about-service img { width: 88px; height: 58px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .cta-band { align-items: flex-start; flex-direction: column; }
  .footer-grid > :first-child { grid-column: auto; }
  .company-table th, .company-table td { display: block; width: 100%; }
  .company-table th { padding-bottom: 3px; border-bottom: 0; }
  .company-table td { padding-top: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
