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

:root {
  --navy:    #003963;
  --navy2:   #002548;
  --blue:    #1A6BAF;
  --sky:     #D6E8F5;
  --white:   #ffffff;
  --offwhite:#F4F7FA;
  --gray:    #5a6a7a;
  --light:   #e8eef4;
  --T: 'Barlow Condensed', sans-serif;
  --B: 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--B); background: var(--white); color: var(--navy); overflow-x: hidden; }

/* ─── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  height: 62px;
  background: rgba(0,57,99,0.96);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none;
}

.nav-brand img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-brand-name {
  font-family: var(--T); font-weight: 800; font-size: 1.1rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
  display: flex; flex-direction: column; line-height: 1;
}

.nav-brand-name small {
  font-weight: 300; font-size: 0.58rem; letter-spacing: 0.35em;
  color: rgba(255,255,255,0.45); margin-top: 3px;
}

.nav-cta {
  font-family: var(--T); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--white); color: var(--navy);
  padding: 9px 22px; border-radius: 3px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--sky); transform: translateY(-1px); }

/* ─── HERO ─────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 6vw 80px;
  position: relative; overflow: hidden;
}

/* subtle grid */
#hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg,
      transparent, transparent calc(50% - 0.5px),
      rgba(255,255,255,0.025) calc(50% - 0.5px),
      rgba(255,255,255,0.025) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    repeating-linear-gradient(180deg,
      transparent, transparent 79px,
      rgba(255,255,255,0.018) 79px,
      rgba(255,255,255,0.018) 80px
    );
}

/* radial glow */
#hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,107,175,0.18) 0%, transparent 68%);
  top: 50%; left: 50%; transform: translate(-50%,-55%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px; padding: 5px 16px;
  font-family: var(--T); font-weight: 300; font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.2rem;
  animation: up .9s ease both;
}

.hero-pill i {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: #50E3C2;
  box-shadow: 0 0 8px #50E3C2;
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-h1-wrap {
  margin: 0;
  font-weight: inherit;
  font-size: inherit;
}

.hero-logo {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  margin: 0 auto 1.6rem;
  animation: up .9s .1s ease both;
}

.hero-h1 {
  font-family: var(--T); font-weight: 900;
  font-size: clamp(3.8rem, 10vw, 7rem);
  color: var(--white); text-transform: uppercase;
  letter-spacing: 0.04em; line-height: .95;
  animation: up 1s .2s ease both;
}

.hero-h1 em {
  display: block; font-style: normal; font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: .5em; color: rgba(255,255,255,0.4);
  margin-top: .5rem;
}

.hero-p {
  margin: 2rem auto 0; max-width: 520px;
  font-weight: 300; font-size: 1.05rem; line-height: 1.7;
  color: rgba(255,255,255,0.55);
  animation: up 1s .35s ease both;
}

.hero-btns {
  margin-top: 2.6rem; display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
  animation: up 1s .5s ease both;
}

.btn {
  font-family: var(--T); font-weight: 600; font-size: 0.82rem;
  letter-spacing: .13em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 3px; text-decoration: none;
  transition: all .22s; display: inline-block;
}
.btn-solid  { background: var(--white); color: var(--navy); }
.btn-solid:hover  { background: var(--sky); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.btn-ghost  { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover  { border-color: var(--white); background: rgba(255,255,255,.05); transform: translateY(-2px); }

/* scroll arrow */
.scroll-arrow {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: .3; animation: up 1.5s 1s ease both;
  text-decoration: none;
}
.scroll-arrow span {
  font-family: var(--T); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--white);
}
.scroll-arrow svg { width: 20px; animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }
@keyframes up { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }

/* ─── SERVICES ─────────────────────────────────────────── */
#services {
  padding: 7rem 6vw;
  background: var(--offwhite);
}

.s-inner { max-width: 1080px; margin: 0 auto; }

.s-label {
  font-family: var(--T); font-weight: 600; font-size: .72rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--blue);
  margin-bottom: .5rem;
}

.s-title {
  font-family: var(--T); font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase; color: var(--navy);
  letter-spacing: .03em; line-height: 1.05;
  margin-bottom: 1rem;
}

.s-sub {
  font-weight: 300; font-size: 1rem; color: var(--gray);
  line-height: 1.7; max-width: 520px; margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light);
  border: 1px solid var(--light);
  border-radius: 6px;
  overflow: hidden;
}

.svc {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: background .2s;
}

.svc::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--navy);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.svc:hover { background: #f8fbfe; }
.svc:hover::after { transform: scaleX(1); }

.svc-icon {
  width: 42px; height: 42px; background: var(--navy); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.svc-icon svg {
  width: 20px; height: 20px; stroke: var(--white);
  fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.svc-name {
  font-family: var(--T); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--navy); margin-bottom: .5rem;
}

.svc-desc {
  font-size: .86rem; font-weight: 300; line-height: 1.65; color: var(--gray);
}

/* ─── CTA BAND ─────────────────────────────────────────── */
#cta-band {
  background: var(--navy); padding: 5rem 6vw;
  text-align: center;
}

.cta-title {
  font-family: var(--T); font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase; color: var(--white);
  letter-spacing: .04em; margin-bottom: .8rem;
}

.cta-p {
  font-weight: 300; font-size: 1rem; color: rgba(255,255,255,.5);
  max-width: 460px; margin: 0 auto 2.4rem; line-height: 1.7;
}

/* ─── CONTACT ──────────────────────────────────────────── */
#contact {
  padding: 7rem 6vw;
  background: var(--white);
}

.contact-layout {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}

.contact-info { }

.contact-tagline {
  font-weight: 300; font-size: 1rem; color: var(--gray);
  line-height: 1.7; margin-bottom: 2.5rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.4rem; }

.c-item {
  display: flex; align-items: flex-start; gap: 1rem;
}

.c-dot {
  width: 38px; height: 38px; background: var(--navy);
  border-radius: 4px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.c-text {}
.c-text strong {
  display: block;
  font-family: var(--T); font-weight: 600; font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 2px;
}
.c-text a, .c-text span {
  font-size: .96rem; font-weight: 400; color: var(--navy); text-decoration: none;
}
.c-text a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ─── FORM ─────────────────────────────────────────────── */
.contact-form { }

.form-row { margin-bottom: 1.2rem; }

.form-row label {
  display: block; font-family: var(--T); font-weight: 600;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gray); margin-bottom: .4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; border: 1.5px solid var(--light);
  border-radius: 4px; padding: 11px 14px;
  font-family: var(--B); font-size: .93rem; font-weight: 300;
  color: var(--navy); background: var(--white);
  outline: none; transition: border-color .2s;
  appearance: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--navy);
}

.form-row textarea { resize: vertical; min-height: 110px; }

.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23003963' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%; padding: 14px;
  font-family: var(--T); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 4px; cursor: pointer;
  transition: background .2s, transform .2s;
  margin-top: .4rem;
}
.form-submit:hover { background: var(--blue); transform: translateY(-1px); }

.form-note {
  font-size: .78rem; font-weight: 300; color: var(--gray);
  margin-top: .8rem; line-height: 1.5;
}

/* success message */
.form-success {
  display: none;
  background: #f0faf6; border: 1.5px solid #50E3C2;
  border-radius: 6px; padding: 1.5rem;
  text-align: center;
}
.form-success p { font-weight: 300; color: var(--navy); font-size: .95rem; line-height: 1.6; }
.form-success strong { font-weight: 600; }

/* ─── FOOTER ───────────────────────────────────────────── */
footer {
  background: var(--navy2);
  padding: 2rem 6vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-l {
  font-family: var(--T); font-size: .7rem; font-weight: 300;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

.footer-badges { display: flex; gap: .6rem; flex-wrap: wrap; }

.f-badge {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; padding: 3px 11px;
  font-family: var(--T); font-size: .62rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* ─── REVEAL ANIMATION ─────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  #hero { padding-top: 120px; }
}
