/* ══════════════════════════════════════════════════════════════
   MDS Pro Solutions — marketing site
   Navy + electric-cyan · Fraunces (display) + Public Sans (body)
   ══════════════════════════════════════════════════════════════ */

:root {
  /* palette */
  --navy-900: #06101f;
  --navy-800: #0a1628;
  --navy-700: #0e1e36;
  --navy-600: #142a49;
  --ink:      #0b1a2e;
  --paper:    #f6f8fb;
  --paper-2:  #eef2f8;
  --white:    #ffffff;

  --cyan:     #12c9d6;
  --cyan-400: #2fd9e4;
  --cyan-600: #0aa6b2;
  --cyan-glow: rgba(18, 201, 214, .28);

  --amber:    #f4a63b;

  --text:     #10233b;
  --text-2:   #46586f;
  --text-inv: #e8eef6;
  --text-inv-2: #9db0c8;
  --line:     rgba(16, 35, 59, .10);
  --line-inv: rgba(255, 255, 255, .10);

  --shadow-sm: 0 1px 2px rgba(6,16,31,.06), 0 4px 14px rgba(6,16,31,.05);
  --shadow-md: 0 8px 30px rgba(6,16,31,.10);
  --shadow-lg: 0 24px 60px rgba(6,16,31,.20);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", system-ui, sans-serif;

  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; fill: none; stroke: currentColor; }
#i-fb { fill: currentColor; stroke: none; }

/* ───────────────────  BUTTONS  ─────────────────── */
.btn {
  --bg: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: .72em 1.4em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: #04121a;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  box-shadow: 0 6px 20px var(--cyan-glow);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--cyan-glow); background: var(--cyan-400); }
.btn:active { transform: translateY(0); }
.btn--lg { font-size: 1.02rem; padding: .9em 1.8em; }
.btn--sm { font-size: .85rem; padding: .55em 1.1em; box-shadow: none; }
.btn--full { width: 100%; }
.btn--ghost {
  background: transparent; color: var(--text-inv);
  border-color: rgba(255,255,255,.28); box-shadow: none;
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); color: var(--white); }

/* ───────────────────  NAV  ─────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  padding: 1.1rem 0;
}
.nav.is-stuck {
  background: rgba(8,18,34,.82);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-inv);
  padding: .7rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  color: var(--text-inv-2); font-weight: 500; font-size: .93rem;
  position: relative; transition: color .18s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
  background: var(--cyan); transition: width .22s ease; border-radius: 2px;
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }

/* MDS PRO wordmark (image) */
.logo { height: 40px; width: auto; display: block; }
.brand--footer .logo { height: 40px; }

.brand__sub--nav {
  align-self: center; font-family: var(--font-body); font-weight: 600;
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cyan-400); border-left: 1px solid var(--line-inv);
  padding-left: .7rem; line-height: 1;
}

/* ───────────────────  HERO  ─────────────────── */
.hero { position: relative; color: var(--text-inv); isolation: isolate; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("assets/hero-bg.jpg") center/cover no-repeat;
  transform: scale(1.05);
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 78% 15%, rgba(18,201,214,.22), transparent 55%),
    linear-gradient(180deg, rgba(6,16,31,.72) 0%, rgba(6,16,31,.86) 55%, var(--navy-800) 100%);
}
.hero__inner { padding: 11rem 0 6rem; max-width: 860px; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .78rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--cyan-400);
  border: 1px solid rgba(47,217,228,.35); border-radius: 999px;
  padding: .4em 1em; margin-bottom: 1.5rem;
  background: rgba(18,201,214,.06);
}
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04;
  letter-spacing: -.02em; margin: 0 0 1.4rem;
}
.hero__title .accent {
  color: transparent; background: linear-gradient(100deg, var(--cyan-400), #7ff0e6);
  -webkit-background-clip: text; background-clip: text;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--text-inv);
  max-width: 44em; margin: 0 0 2.2rem; opacity: .94;
}
.hero__lede strong { color: var(--cyan-400); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }
.hero__pills {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 1.6rem;
}
.hero__pills li {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 500; font-size: .95rem; color: var(--text-inv);
}
.hero__pills .ic { color: var(--cyan-400); font-size: 1.15rem; stroke-width: 2.4; }

/* ───────────────────  SECTIONS  ─────────────────── */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--muted { background: var(--paper-2); }
.section--dark { background: var(--navy-800); color: var(--text-inv); }
.section--dark .sec-lede { color: var(--text-inv-2); }

.sec-head { max-width: 40rem; margin-bottom: 3rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-weight: 700; font-size: .76rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--cyan-600);
  margin-bottom: .9rem;
}
.section--dark .kicker { color: var(--cyan-400); }
.kicker--warn { color: var(--amber); }
.sec-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1;
  letter-spacing: -.02em; margin: 0;
}
.sec-lede { font-size: 1.12rem; color: var(--text-2); margin: 1rem 0 0; }

/* grids */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ───────────────────  PROBLEM CARDS  ─────────────────── */
.card {
  background: var(--navy-700); border: 1px solid var(--line-inv);
  border-radius: var(--r); padding: 2rem 1.8rem; position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.card--problem:hover { transform: translateY(-4px); border-color: rgba(244,166,59,.4); }
.card__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 500;
  color: rgba(244,166,59,.55); line-height: 1; display: block; margin-bottom: 1rem;
}
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin: 0 0 .55rem; color: var(--white); }
.card p { margin: 0; color: var(--text-inv-2); font-size: .98rem; }

/* ───────────────────  SOLUTION  ─────────────────── */
.solution__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.ticklist { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: .9rem; }
.ticklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1.05rem; color: var(--text); }
.ticklist .ic { color: var(--cyan-600); font-size: 1.3rem; stroke-width: 2.6; flex: none; margin-top: .12em; }

.statbox {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  color: var(--text-inv); border-radius: var(--r-lg);
  padding: 2.8rem 2rem 2rem; text-align: center;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-inv);
  position: relative; overflow: hidden;
}
.statbox::before {
  content: ""; position: absolute; inset: auto -30% -50% -30%; height: 70%;
  background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
}
.statbox__big {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.5rem, 8vw, 5rem); line-height: 1; display: block;
  color: transparent; background: linear-gradient(120deg, var(--cyan-400), #8ff2e8);
  -webkit-background-clip: text; background-clip: text;
}
.statbox__cap { display: block; margin-top: .6rem; color: var(--text-inv-2); font-size: .95rem; }
.statbox__foot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-inv);
  text-align: center; font-size: .82rem; color: var(--text-inv-2);
}
.statbox__foot strong { font-family: var(--font-display); color: var(--cyan-400); font-size: 1.35rem; font-weight: 600; }

/* ───────────────────  STEPS  ─────────────────── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  counter-reset: step;
}
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 2.2rem 1.8rem; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-600)); color: #04121a;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  margin-bottom: 1.2rem; box-shadow: 0 6px 18px var(--cyan-glow);
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin: 0 0 .5rem; }
.step p { margin: 0; color: var(--text-2); }

/* ───────────────────  BENEFITS  ─────────────────── */
.benefits { gap: 1.3rem; }
.bcard {
  background: var(--navy-700); border: 1px solid var(--line-inv);
  border-radius: var(--r); padding: 1.9rem 1.7rem;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.bcard:hover { transform: translateY(-4px); border-color: rgba(47,217,228,.42); background: var(--navy-600); }
.bcard__ic {
  width: 2.6rem; height: 2.6rem; stroke: var(--cyan-400); stroke-width: 1.8;
  margin-bottom: 1rem; display: block;
}
.bcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 0 0 .5rem; color: var(--white); }
.bcard p { margin: 0; color: var(--text-inv-2); font-size: .97rem; }

/* ───────────────────  TESTIMONIALS  ─────────────────── */
.quote {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 2.2rem 2rem 1.8rem; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote__mark {
  font-family: var(--font-display); font-size: 4rem; line-height: .6;
  color: var(--cyan); opacity: .4; height: 1.6rem;
}
.quote blockquote { margin: 0 0 1.4rem; font-size: 1.05rem; color: var(--text); }
.quote figcaption { margin-top: auto; }
.quote__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.quote__role { display: block; color: var(--text-2); font-size: .85rem; margin-top: .15rem; }

/* ───────────────────  CONTACT  ─────────────────── */
.section--cta {
  background:
    radial-gradient(80% 120% at 15% 0%, var(--navy-600), transparent 60%),
    var(--navy-900);
  color: var(--text-inv);
}
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact__copy .sec-lede { color: var(--text-inv-2); }
.contact__perks { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .8rem; }
.contact__perks li { display: flex; gap: .7rem; align-items: center; color: var(--text-inv); }
.contact__perks .ic { color: var(--cyan-400); font-size: 1.2rem; stroke-width: 2.6; }

.contact__form {
  background: rgba(255,255,255,.03); border: 1px solid var(--line-inv);
  border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--text-inv-2); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,.05); border: 1px solid var(--line-inv);
  border-radius: var(--r-sm); padding: .8em .9em; transition: border-color .18s ease, box-shadow .18s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(157,176,200,.55); }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239db0c8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9em center;
}
.field select option { color: #0b1a2e; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-glow);
}
.form__note { margin: 1rem 0 0; font-size: .9rem; min-height: 1.2em; text-align: center; }
.form__note.ok { color: var(--cyan-400); }
.form__note.err { color: #ff8a8a; }

/* ───────────────────  FOOTER  ─────────────────── */
.footer { background: var(--navy-900); color: var(--text-inv-2); padding-top: 3.5rem; }
.footer__inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-inv);
}
.brand--footer .brand__text { font-size: 1.15rem; }
.footer__desc { margin: 1rem 0 0; max-width: 26em; font-size: .95rem; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__col h4 {
  font-family: var(--font-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-inv);
  margin: 0 0 .3rem;
}
.footer__col a { color: var(--text-inv-2); font-size: .95rem; transition: color .18s ease; width: fit-content; }
.footer__col a:hover { color: var(--cyan-400); }
.footer__contact { display: inline-flex; align-items: center; gap: .55rem; }
.footer__contact .ic { font-size: 1.15rem; color: var(--cyan-400); }
.footer__btn { margin-top: .6rem; }
/* keep the CTA pill's dark text — override the generic footer-link color */
.footer .btn, .footer .btn:hover { color: #04121a; }
.footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  padding: 1.4rem 0; font-size: .85rem;
}

/* ───────────────────  REVEAL ANIMATION  ─────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ───────────────────  RESPONSIVE  ─────────────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .grid-3, .steps, .benefits { grid-template-columns: 1fr 1fr; }
  .solution__inner, .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3, .steps, .benefits { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__inner { padding: 9rem 0 4.5rem; }
  .hero__cta .btn { flex: 1 1 auto; }
}
