:root {
  --deep-navy: #0c1824;
  --steel: #132a3c;
  --sky: #4cc0ff;
  --light: #f4f7fb;
  --panel: #0f2334;
  --accent: #7dd3fc;
  --amber: #f59e0b;
  --text: #0d1726;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  color: var(--light);
  background: #0a141f;
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  color: var(--text);
  border-bottom: 1px solid rgba(12, 24, 36, 0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 14px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  margin-left: 22px;
}

.logo img {
  height: 85px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}

.logo-lockup {
  display: grid;
  gap: 2px;
  color: var(--text);
}

.logo-lockup strong {
  font-size: 18px;
  line-height: 1.1;
}

.logo-lockup span {
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #42546a;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 15px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

nav a:hover,
nav a.active {
  background: rgba(12, 24, 36, 0.08);
}

.cta-btn {
  background: linear-gradient(135deg, var(--sky), #14b8a6);
  color: #0b2033;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);
  letter-spacing: 0.4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

nav { flex: 1; display: flex; justify-content: center; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(12, 24, 36, 0.12);
  background: #f2f7fb;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 6px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-toggle:hover {
  background: #e6f2fb;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(56, 189, 248, 0.45);
}

.cta-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: none;
}

.hero {
  background: radial-gradient(circle at 12% 20%, rgba(76, 192, 255, 0.14), transparent 26%),
              radial-gradient(circle at 70% 0%, rgba(20, 40, 70, 0.65), transparent 32%),
              linear-gradient(135deg, #0f2436 0%, #0a1622 60%, #0b1c2a 100%);
  color: white;
  padding: 110px 20px 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }
}

.hero-copy h1 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.15;
  margin: 12px 0 14px;
}

.lead {
  color: #cfe7fb;
  font-size: 18px;
  margin-bottom: 16px;
}

.tagline {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 8px;
}

.link-btn {
  color: #b9d6f5;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(185, 214, 245, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.link-btn:hover {
  border-color: #4cc0ff;
  color: white;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.assurance-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.assurance-card h3 { color: white; margin: 6px 0; font-size: 18px; }
.assurance-card p { color: #cfe1f2; font-size: 14px; margin: 0; }

.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(76, 192, 255, 0.28);
  text-align: center;
}

.mobile-section-cta {
  width: auto;
}

.section {
  width: 100%;
  padding: 90px 0;
  position: relative;
  background: #0c1b2b;
}

.section > * {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  inset: 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  pointer-events: none;
}

.section h2 {
  font-size: 30px;
  color: white;
  margin-bottom: 10px;
}

.section .subtitle {
  color: #c3d5e8;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: #0f2334;
  color: #e5edf7;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}

.pill {
  display: inline-block;
  background: rgba(76, 192, 255, 0.18);
  color: #dff4ff;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.panel-stack {
  display: grid;
  gap: 12px;
}

.hero-visual {
  height: 100%;
  min-height: clamp(420px, 70vh, 760px);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(76, 192, 255, 0.15), rgba(20, 184, 166, 0.12)),
              radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 30%),
              rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 40px rgba(0,0,0,0.28);
  display: grid;
  overflow: hidden;
  padding: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transform-origin: center;
  display: block;
  border-radius: 12px;
  background: rgba(10, 20, 33, 0.5);
}

.image-placeholder {
  position: relative;
  overflow: hidden;
}

.image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
  opacity: 0.4;
}

.image-placeholder span {
  position: relative;
  z-index: 1;
}

.panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.26);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #dbe9f7;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 8px;
  color: #cfe1f2;
}

.checklist li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.metric-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.metric-panel div {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  color: #e4edf8;
}

.metric-panel small { color: #b8cee2; display: block; margin-bottom: 6px; }
.metric-panel strong { font-size: 22px; }

.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  color: #dbe5f2;
}

.stage-grid strong {
  display: inline-block;
  background: rgba(76,192,255,0.16);
  color: #e8f6ff;
  padding: 6px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

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

.feature-card,
.service-card {
  background: #10283a;
  color: #e5edf7;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card summary {
  list-style: none;
  cursor: default;
  display: grid;
  gap: 6px;
  align-items: start;
}

.service-card summary span,
.service-card summary h3,
.service-card summary p {
  display: block;
  width: 100%;
}

.service-card summary h3 {
  margin: 0;
  line-height: 1.35;
}

.service-card summary p {
  margin: 0;
  line-height: 1.45;
}

.service-card summary::-webkit-details-marker { display: none; }

.service-card .card-body {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.service-card ul {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 6px;
  color: #cddff1;
}

.feature-card ul {
  padding-left: 18px;
  color: #cddff1;
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

@media (min-width: 721px) {
  .service-card summary::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .service-card {
    padding: 0;
  }

  .service-card summary {
    display: grid;
    gap: 6px;
    padding: 14px 64px 14px 16px;
    position: relative;
    cursor: pointer;
    align-items: start;
  }

  .service-card summary h3 {
    margin: 0;
  }

  .service-card summary p {
    display: none;
  }

  .service-card summary .pill {
    display: none;
  }

  .service-card[open] summary p {
    display: block;
    margin-top: 4px;
    color: #cddff1;
  }

  .service-card summary::after {
    content: '\25BC';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    color: #e5edf7;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .service-card[open] summary::after {
    content: '\25B2';
    transform: translateY(-50%);
    background: rgba(76,192,255,0.18);
  }

  .service-card .card-body {
    padding: 0 16px 16px;
    margin-top: 0;
  }
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 6px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(56,189,248,0.14);
  color: #e0f6ff;
  font-size: 13px;
  border: 1px solid rgba(56,189,248,0.3);
}

.callout {
  background: linear-gradient(135deg, rgba(54,179,242,0.1), rgba(20,184,166,0.08));
  border: 1px solid rgba(20,184,166,0.24);
  padding: 12px 14px;
  border-radius: 12px;
  margin-top: 12px;
}

@media (max-width: 720px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 14px;
  }

  .hero-actions .cta-btn,
  .hero-actions .link-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section {
    padding: 70px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header .link-btn {
    display: none;
  }

  .mobile-section-cta {
    display: inline-flex;
    width: auto;
    max-width: none;
    padding: 10px 16px;
    font-size: 14px;
    justify-content: center;
    align-self: center;
    margin: 18px auto 0;
  }

  header .nav-cta {
    display: none;
  }
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 32px;
  display: grid;
  grid-template-columns: minmax(340px, 1.25fr) minmax(520px, 1.35fr);
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-logo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.footer-logo img {
  width: 52px;
  height: 52px;
}

.footer-logo p {
  margin: 4px 0 0;
  color: #c9d9ec;
}

.footer-meta {
  margin: 0;
  color: #c9d9ec;
  line-height: 1.4;
}

.footer-columns {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr);
  gap: 22px;
}

.footer-columns h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: white;
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.footer-columns a { 
  color: #cfe1f2;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #c9d9ec;
}

.footer-bottom-links {
  display: inline-flex;
  gap: 12px;
}

.footer-bottom a {
  color: #cfe1f2;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #4cc0ff;
}

.footer-columns a:hover {
  color: #4cc0ff;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-meta.small {
  font-size: 13px;
  color: #d3e5fa;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }
}

footer {
  background: rgba(10,25,41,0.95);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact {
  background: linear-gradient(140deg, #0b2235, #0f172a);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  color: white;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}

.contact form {
  display: grid;
  gap: 10px;
}

.contact input,
.contact select,
.contact textarea {
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: white;
}

.contact select option {
  color: #0f172a;
}

.contact textarea {
  min-height: 110px;
}

.map-wrapper {
  margin-top: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}

.map-header {
  padding: 12px 14px;
  font-weight: 700;
}

.map-frame iframe {
  width: 100%;
  min-height: 220px;
  border: none;
}

.map-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 14px;
  color: #d7e7f6;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.teaser-card {
  background: #0f2334;
  color: #e5edf7;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
  display: grid;
  gap: 6px;
}

.teaser-card a {
  color: #4cc0ff;
  font-weight: 700;
  text-decoration: none;
}

.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.resource-detail {
  background: #0f2334;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.26);
  display: grid;
  gap: 12px;
}

.page-title {
  background: linear-gradient(135deg, #0f2436, #0a1622);
  color: white;
  padding: 60px 20px 50px;
}

.page-title .inner {
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .nav-container { padding: 12px 16px; }
  nav ul { gap: 12px; }
  .cta-btn { padding: 10px 14px; }
  .logo img { height: 74px; }
}

@media (max-width: 980px) {
  header { position: sticky; }
  body.nav-open { overflow: hidden; }
  .nav-toggle { display: inline-flex; }
  .nav-container {
    align-items: center;
    justify-content: space-between;
  }
  .logo { margin-left: 0; }
  .nav-toggle { margin-left: auto; order: 2; }
  nav {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    justify-content: stretch;
  }
  nav ul {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px 14px;
    margin: 0;
    background: #f8fbff;
    border: 1px solid rgba(12, 24, 36, 0.08);
    border-radius: 12px;
    box-shadow: 0 18px 32px rgba(0,0,0,0.08);
  }
  nav:not(.open) ul { display: none; }
  .cta-btn { order: 2; margin-left: auto; }
  .hero { padding-top: 48px; }
  .map-actions {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

.capability-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.capability-card {
  background: #0f2334;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.24);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
}

.portal-preview {
  background: linear-gradient(160deg, #0c2234, #0f172a);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
}

.portal-preview .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.portal-preview .stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px;
  color: #e2e8f0;
}

.visual-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 32px auto 10px;
  max-width: 1180px;
  padding: 0 20px;
}

.visual-strip .image-placeholder {
  min-height: 200px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: rgba(8, 20, 33, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 32px rgba(0,0,0,0.26);
  overflow: hidden;
}

.visual-strip .image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transform-origin: center;
  display: block;
}
