/* ── Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  color: #ffffff;
  background: #07182e;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', system-ui, sans-serif; line-height: 1.15; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid #4dc4f1; outline-offset: 3px; }

/* ── Layout ─────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; width: 100%; }
.section { padding: 6rem 2rem; scroll-margin-top: 100px; }
.section--light { background: #ffffff; color: #07182e; }
.section--navy  { background: #07182e; color: #ffffff; }

.section-header { max-width: 640px; margin: 0 auto 4rem; text-align: center; }
.section-header h2 { font-size: 40px; margin-bottom: 1rem; }
.section-header p { font-size: 20px; }
.section-cta { display: flex; justify-content: center; margin-top: 3rem; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 1.5rem; border-radius: 20px; border: 2px solid transparent;
  font: 600 1rem/1 'Inter', sans-serif; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--primary { background: #07182e; color: #4dc4f1; border-color: #07182e; }
.btn--primary:hover { background: #1a4a84; border-color: #1a4a84; box-shadow: 0 4px 14px rgba(36,91,159,.4); }
.btn--primary:active { background: #153d6e; border-color: #153d6e; box-shadow: none; }
.btn--primary:disabled { opacity: .6; cursor: default; }
.btn--secondary { background: transparent; color: #ffffff; border-color: #ffffff; }
.btn--secondary:hover { background: rgba(36,91,159,.08); box-shadow: 0 4px 14px rgba(36,91,159,.15); }
.btn--on-light { color: #0e3059; border-color: #0e3059; }
.btn--on-light:hover { background: rgba(14,48,89,.06); }

/* ── Navbar ─────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100; width: 100%;
  background: rgb(7 24 47); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(77,196,241,.18);
  box-shadow: 0 1px 0 rgba(77,196,241,.08), 0 8px 32px rgba(0,0,0,.35);
}
.navbar-inner {
  display: flex; align-items: center; gap: 2rem; min-height: 100px;
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
}
.navbar-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.navbar-logo-mark {
  width: 38px; height: 38px; padding: 4px; object-fit: contain; flex-shrink: 0;
  background: #fff; border-radius: 8px; filter: drop-shadow(0 0 8px rgba(77,196,241,.4));
}
.navbar-logo-name { color: #fff; font-size: 20px; font-weight: 600; white-space: nowrap; font-family: 'Inter', sans-serif; }
.navbar-logo:hover .navbar-logo-name { color: #4dc4f1; }

.navbar-links { display: flex; gap: 1.75rem; margin-left: auto; }
.navbar-link {
  color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 6px 10px; border-radius: 8px; transition: color .22s, background .22s;
}
.navbar-link:hover { color: #4dc4f1; background: rgba(77,196,241,.1); }
.navbar-cta .btn { padding: 10px 1.25rem; font-size: .9rem; border-color: rgba(77,196,241,.5); }

.navbar-hamburger {
  display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0;
  cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 0;
}
.navbar-hamburger span { display: block; width: 26px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.navbar-hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.navbar-hamburger.is-open span:nth-child(2) { opacity: 0; }
.navbar-hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.navbar-mobile-backdrop {
  position: fixed; inset: 0; z-index: 998; background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.navbar-mobile-backdrop.is-open { opacity: 1; pointer-events: auto; }
.navbar-mobile-menu {
  position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 85vw); z-index: 999;
  background: #07182e; border-left: 1px solid rgba(77,196,241,.18);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
}
.navbar-mobile-menu.is-open { transform: translateX(0); }
.navbar-mobile-menu-inner { padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem; }
.navbar-mobile-header { display: flex; justify-content: space-between; align-items: center; }
.navbar-mobile-close { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.navbar-mobile-links { display: flex; flex-direction: column; gap: .25rem; }
.navbar-mobile-link {
  display: block; padding: 12px 8px; color: #fff; text-decoration: none; font-size: 1.1rem;
  font-family: 'Space Grotesk', sans-serif; border-radius: 8px;
}
.navbar-mobile-link:hover { color: #4dc4f1; background: rgba(77,196,241,.1); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #0e3059; text-align: center; padding: 4rem 2rem;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, transparent 25%, rgba(0,0,0,.4) 52%, #000 72%);
          mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, transparent 25%, rgba(0,0,0,.4) 52%, #000 72%);
}
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: 80px; max-width: 900px; margin-bottom: 1rem; color: #fff; }
.hero h1 span { color: #4dc4f1; }
.hero p { font-size: clamp(1rem, 1.8vw, 1.4rem); max-width: 700px; color: #c3daf6; margin-bottom: 2.5rem; }
.btn-row { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

/* ── Services ───────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border: 1px solid rgba(14,48,89,.12); }
.service-card h3 { font-size: 1.25rem; color: #07182e; }
.service-card p { color: #07182e; flex: 1; }
.icon-box {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(77,196,241,.1); color: #4dc4f1;
}

/* ── Solutions ──────────────────────────────────── */
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.solution-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  transition: transform .35s cubic-bezier(.34,1.4,.64,1), border-color .3s, background .3s, box-shadow .35s;
}
.solution-card:hover {
  transform: translateY(-8px); border-color: rgba(77,196,241,.5); background: rgba(77,196,241,.06);
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(77,196,241,.2);
}
.solution-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.solution-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.solution-img::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 40%, rgba(7,24,46,.7) 100%);
}
.solution-card:hover .solution-img img { transform: scale(1.05); }
.solution-body { padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.solution-tag { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4dc4f1; }
.solution-body h3 { font-size: 1.15rem; }
.solution-body p { color: rgba(255,255,255,.65); line-height: 1.65; }

/* ── About ──────────────────────────────────────── */
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-photo img { width: 100%; border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; }
.about-text { display: flex; flex-direction: column; gap: 1.25rem; color: #07182e; font-size: 1.05rem; }
.certs { margin-top: 5rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.certs-label { font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #0e3059; }
.certs-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.cert {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; border-radius: 14px;
  background: #fff; border: 1px solid rgba(14,48,89,.12); box-shadow: 0 4px 16px rgba(14,48,89,.08);
  min-width: 200px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cert:hover { transform: translateY(-4px); border-color: var(--cert-color); box-shadow: 0 10px 28px rgba(14,48,89,.15); }
.cert-icon { color: var(--cert-color); flex-shrink: 0; }
.cert > div { display: flex; flex-direction: column; }
.cert-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; color: #07182e; }
.cert-org { font-size: .85rem; color: #0e3059; opacity: .7; }

/* ── Why Us ─────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.why-item { display: flex; flex-direction: column; gap: 1rem; }
.why-item h3 { font-size: 1.2rem; }
.why-item p { color: rgba(255,255,255,.75); }

/* ── Process ────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.process-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; }
.process-step::after {
  content: ''; position: absolute; top: 26px; left: calc(50% + 26px); right: calc(-50% + 26px);
  height: 0; border-top: 2px dashed #0e3059; opacity: .5;
}
.process-step:last-child::after { display: none; }
.process-num {
  width: 52px; height: 52px; border: 2px solid #0e3059; color: #0e3059;
  display: flex; align-items: center; justify-content: center; font: 700 1.1rem 'Space Grotesk', sans-serif;
  position: relative; z-index: 1; background: #fff;
}
.process-step h3 { margin-top: 1.25rem; font-size: 1.1rem; color: #07182e; }
.process-step p { margin-top: .5rem; color: #07182e; opacity: .8; font-size: .95rem; }

/* ── Contact ────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; flex-direction: column; gap: .4rem; }
.contact-item span, .footer-contact span { font-weight: 600; color: #4dc4f1; }
.contact-item a, .footer-contact a { text-decoration: none; }
.contact-item a:hover, .footer-contact a:hover { color: #4dc4f1; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-weight: 500; font-size: .9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .65rem .85rem; border: 1px solid rgba(77,196,241,.35); border-radius: 8px;
  background: rgba(255,255,255,.03); color: #fff; font: inherit;
}
.form-group select option { background: #07182e; }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #4dc4f1; box-shadow: 0 0 0 3px rgba(77,196,241,.15); }
.form-status { min-height: 1.4em; font-weight: 500; }
.form-status.is-success { color: #4dc4f1; }
.form-status.is-error { color: #ff6b6b; }
.form-submit { display: flex; justify-content: flex-end; }

/* ── Footer ─────────────────────────────────────── */
.footer { background: #050f1f; border-top: 1px solid rgba(77,196,241,.12); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 3rem; }
.footer-brand p { margin-top: 1rem; color: rgba(255,255,255,.6); max-width: 340px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 1rem; color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: #4dc4f1; }
.footer-contact li { display: flex; flex-direction: column; color: rgba(255,255,255,.6); font-size: .95rem; }
.footer-contact span { font-size: .8rem; }
.footer-bottom {
  max-width: 1280px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  color: rgba(255,255,255,.45); font-size: .85rem;
}

/* ── Scroll reveal ──────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes slam {
  0% { opacity: 0; transform: scale(.65) translateY(-24px); }
  55% { opacity: 1; transform: scale(1.05) translateY(2px); }
  75% { transform: scale(.98); }
  100% { opacity: 1; transform: none; }
}
@keyframes stepPop { 0% { opacity: 0; transform: scale(.2); } 65% { opacity: 1; transform: scale(1.18); } 82% { transform: scale(.93); } 100% { opacity: 1; transform: none; } }

.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(32px); }
.js .reveal.is-visible { animation: fadeUp 1.2s cubic-bezier(.22,1,.36,1) forwards; }

.js .reveal-stagger:not(.is-visible) .reveal-card { opacity: 0; transform: translateY(28px); }
.js .reveal-stagger.is-visible .reveal-card { animation: fadeUp 1.2s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--i, 0) * 200ms); }

.js .reveal-process:not(.is-visible) .process-num { opacity: 0; transform: scale(.2); }
.js .reveal-process.is-visible .process-num { animation: stepPop .5s cubic-bezier(.34,1.6,.64,1) forwards; animation-delay: calc(var(--step) * 1200ms); }
.js .reveal-process.is-visible .process-step::after { animation: fadeIn .7s ease forwards; animation-delay: calc(var(--step) * 1200ms + 500ms); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: .5; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-stagger .reveal-card, .js .reveal-process .process-num { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
  .navbar-links, .navbar-cta { display: none; }
  .navbar-hamburger { display: flex; }
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-step { flex-direction: row; text-align: left; align-items: flex-start; gap: 1.25rem; padding: 0; }
  .process-step h3, .process-step p { margin-top: 0; }
  .process-step::after { top: 52px; left: 25px; right: auto; height: 40px; width: 0; border-top: 0; border-left: 2px dashed #0e3059; }
  .process-step:last-child::after { display: none; }
  .process-num { flex-shrink: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero h1 { font-size: 52px; }
  .about-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo img { aspect-ratio: 4 / 3; max-width: 520px; margin: 0 auto; }
  .solutions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 1.25rem; }
  .section-header h2 { font-size: 32px; }
  .section-header p { font-size: 1.05rem; }
  .hero { padding: 3rem 1.25rem; min-height: calc(100svh - 100px); }
  .hero h1 { font-size: 40px; }
  .services-grid, .why-grid, .form-row { grid-template-columns: 1fr; }
  .navbar-inner { padding: 0 1.25rem; min-height: 80px; }
  .navbar-logo-name { font-size: 17px; }
  .certs-grid .cert { min-width: 0; width: 100%; max-width: 320px; }
  .footer { padding: 3rem 1.25rem 2rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .btn { font-size: .9rem; padding: .7rem 1.25rem; }
  .btn-row { flex-direction: column; width: 100%; }
  .btn-row .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
