/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --navy:        #0A1F3D;
  --navy-2:      #0F2A52;
  --navy-3:      #14315F;
  --navy-line:   rgba(255,255,255,0.14);
  --orange:      #FF6A13;
  --orange-dark: #E05A00;
  --white:       #FFFFFF;
  --cream:       #F5F7FA;
  --gray-100:    #EEF1F4;
  --gray-300:    #D6DCE3;
  --gray-500:    #8894A3;
  --ink:         #16212E;
  --ink-soft:    #33404F;
  --ink-mute:    #5B6B7D;
  --line:        rgba(10,31,61,0.12);
  --radius:      10px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Blueprint / circuit technical pattern, tiled — light (on navy) and dark (on white) variants */
  --pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='.7' opacity='.16'%3E%3Cpath d='M0 60H120M60 0V120'/%3E%3Ccircle cx='60' cy='60' r='2.4' fill='%23FFFFFF' stroke='none'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23FFFFFF' stroke='none'/%3E%3Ccircle cx='120' cy='0' r='2' fill='%23FFFFFF' stroke='none'/%3E%3Ccircle cx='0' cy='120' r='2' fill='%23FFFFFF' stroke='none'/%3E%3Ccircle cx='120' cy='120' r='2' fill='%23FFFFFF' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%230A1F3D' stroke-width='.7' opacity='.06'%3E%3Cpath d='M0 60H120M60 0V120'/%3E%3Ccircle cx='60' cy='60' r='2.4' fill='%230A1F3D' stroke='none'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%230A1F3D' stroke='none'/%3E%3Ccircle cx='120' cy='0' r='2' fill='%230A1F3D' stroke='none'/%3E%3Ccircle cx='0' cy='120' r='2' fill='%230A1F3D' stroke='none'/%3E%3Ccircle cx='120' cy='120' r='2' fill='%230A1F3D' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; }
ul { list-style: none; padding: 0; }

::selection { background: var(--orange); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--white); color: var(--navy);
  z-index: 9999; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 1.5rem;
  min-height: 56px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .01em;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s var(--ease-out);
  text-align: center;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255,106,19,0.35);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-block { display: flex; width: 100%; }

/* =============================================================
   5. Header / Hero
   ============================================================= */
.top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  padding: 1.1rem 0;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  overflow: clip;
  padding-top: 5.5rem;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.85) brightness(.9);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,31,61,.55) 0%, rgba(10,31,61,.4) 30%, rgba(10,31,61,.55) 60%, rgba(10,31,61,.96) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding-block: 4rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroRise .9s var(--ease-out) both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.hero-kicker {
  color: var(--orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: -.015em;
  text-wrap: balance;
  max-width: 18ch;
  margin-bottom: 1.6rem;
}
.hero-title mark {
  background: none;
  color: var(--orange);
}

.hero-cta {
  margin-bottom: 1.75rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero-cta .btn-primary {
  font-size: .92rem;
  text-transform: uppercase;
  padding-inline: 1.25rem;
  white-space: nowrap;
  border-radius: 999px;
  width: 100%;
  max-width: 400px;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem 1rem;
}
.hero-benefit {
  color: var(--cream);
  opacity: .8;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.hero-benefit:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .6;
  margin-left: 1rem;
  vertical-align: middle;
}

/* =============================================================
   6. Credentials
   ============================================================= */
.credentials {
  position: relative;
  background: var(--white) var(--pattern-dark);
  padding-block: 3.25rem;
}
.section-head {
  margin-bottom: 2rem;
  max-width: 46ch;
}
.section-head h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
}

.credentials-grid {
  display: grid;
  gap: 1.25rem;
}
.credential-card {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(10,31,61,0.06);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.credential-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,106,19,0.35);
  box-shadow: 0 14px 28px rgba(10,31,61,0.1);
}
.credential-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,106,19,0.1);
  border: 1.5px solid rgba(255,106,19,0.35);
  color: var(--orange);
}
.credential-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .35rem;
}
.credential-card p { color: var(--ink-mute); font-size: .92rem; }
.credential-number {
  font-weight: 800;
  color: var(--orange);
}

/* =============================================================
   7. Services catalog
   ============================================================= */
.services {
  background: var(--gray-100) var(--pattern-dark);
  padding-block: 3.25rem;
}
.services-grid {
  display: grid;
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--gray-300);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10,31,61,0.12);
}
.service-card--photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-photo--contain {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  padding: .75rem;
}
.service-photo--contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.service-card--photo .service-card-body {
  padding: 1.6rem;
}
.service-card--photo .service-icon {
  margin-top: -2.9rem;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(10,31,61,0.18);
}

.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,106,19,0.12);
  border: 1.5px solid rgba(255,106,19,0.35);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.service-card p { color: var(--ink-mute); font-size: .92rem; }

/* =============================================================
   8. Trust bar
   ============================================================= */
.trust {
  background: var(--white);
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-label {
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
}
.trust-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 3.5rem;
  animation: trustMarquee 26s linear infinite;
}
.trust-marquee:hover .trust-track { animation-play-state: paused; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  color: var(--ink-mute);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  opacity: .7;
  filter: grayscale(1);
}
@keyframes trustMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   9. Conversion form
   ============================================================= */
.cta-form {
  background: var(--navy);
  background-image: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255,106,19,0.14), transparent 70%);
  padding-block: 3.5rem;
}
.cta-form-head { max-width: 46ch; margin-bottom: 1.75rem; }
.cta-form-head h3 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .6rem;
}
.cta-form-head p { color: var(--cream); opacity: .85; }

.lead-form {
  display: grid;
  gap: 1rem;
  max-width: 620px;
}
.field-row {
  display: grid;
  gap: 1rem;
}
.field {
  display: grid;
  gap: .4rem;
}
.field-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: rgba(245,247,250,0.8);
  font-size: .82rem;
  line-height: 1.4;
}
.field-consent input {
  margin-top: .2em;
  width: 16px; height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.field-consent a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.field label {
  color: var(--cream);
  font-size: .85rem;
  font-weight: 700;
}
.field input {
  width: 100%;
  padding: .9rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
}
.field input::placeholder { color: rgba(245,247,250,0.45); }
.field input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.lead-form .btn-primary { margin-top: .4rem; text-transform: uppercase; }

/* =============================================================
   10. Footer
   ============================================================= */
.site-footer {
  background: var(--navy-2);
  padding-block: 1.75rem;
  text-align: center;
}
.footer-logo { height: 22px; opacity: .8; margin-inline: auto; margin-bottom: .75rem; filter: grayscale(1) brightness(2); }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--orange);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .9rem;
}
.footer-phone:hover { color: var(--white); }
.footer-legal {
  color: rgba(245,247,250,0.55);
  font-size: .78rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem .6rem;
}
.footer-legal a { color: rgba(245,247,250,0.8); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--white); }

/* =============================================================
   11. Sticky mobile call bar
   ============================================================= */
.sticky-call {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--navy);
  border-top: 1px solid var(--navy-line);
  transform: translateY(110%);
  transition: transform .3s var(--ease-out);
  display: none;
}
.sticky-call.is-visible { transform: translateY(0); }

/* =============================================================
   12. Responsive
   ============================================================= */
@media (max-width: 719px) {
  .sticky-call { display: block; }
  body { padding-bottom: 4.25rem; }
}

@media (min-width: 540px) {
  .hero-title { font-size: 26px; }
  .hero-cta .btn-primary { font-size: 1.15rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .hero-title { font-size: 40px; max-width: 16ch; }
  .credentials-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-benefits { flex-wrap: nowrap; }
  .hero-benefit { white-space: nowrap; }
  .hero-cta .btn-primary { width: auto; }
}

@media (min-width: 960px) {
  .hero-title { font-size: 56px; }
  .hero-inner { padding-block: 3rem; max-width: 780px; }
  .top-bar { padding: 1.5rem 0; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: 68px; max-width: 17ch; }
  .cta-form { padding-block: 4.5rem; }
  .credentials, .services { padding-block: 4.5rem; }
}

/* =============================================================
   13. Reduced motion — only the truly intrusive stuff
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition-duration: .01s; }
}

/* =============================================================
   14. Privacy / credits pages
   ============================================================= */
.simple-page {
  max-width: 720px;
  margin-inline: auto;
  padding: 3rem 1.25rem 4rem;
}
.simple-page h1 { color: var(--navy); font-size: 1.8rem; margin-bottom: 1.25rem; }
.simple-page h2 { color: var(--navy); font-size: 1.15rem; margin-top: 1.75rem; margin-bottom: .6rem; }
.simple-page p, .simple-page li { color: var(--ink-soft); margin-bottom: .75rem; }
.simple-page ul { list-style: disc; padding-left: 1.25rem; }
.simple-page a.back { display: inline-block; margin-bottom: 2rem; color: var(--navy); font-weight: 700; }
.credits-list li { font-size: .92rem; border-bottom: 1px solid var(--line); padding-block: .75rem; }
.credits-list a { text-decoration: underline; }
