/* ============================================================
   FM Creative Solutions — Site Stylesheet
   Palette: Navy #1C3461 | Steel Blue #3D7EAA | Sky #5BAACC
             Light Sky #A8D4E6 | Gold Accent #C8A84B | White #FFFFFF
             Off-white #F4F7FA | Dark Text #12243F
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700;800&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600&display=swap');

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

:root {
  --navy:       #1C3461;
  --navy-deep:  #122040;
  --steel:      #3D7EAA;
  --sky:        #5BAACC;
  --sky-light:  #A8D4E6;
  --gold:       #C8A84B;
  --gold-light: #E8CB7A;
  --white:      #FFFFFF;
  --offwhite:   #F4F7FA;
  --text-dark:  #12243F;
  --text-mid:   #3A4A62;
  --text-light: #6B7FA0;
  --border:     #D6E3EE;

  --font-display: 'Raleway', sans-serif;
  --font-serif:   'Libre Baskerville', serif;
  --font-body:    'Source Sans 3', sans-serif;

  --max-width: 1160px;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(28,52,97,0.10);
  --shadow-lg: 0 12px 48px rgba(28,52,97,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}

/* ── UTILITY ───────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--navy); }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text-mid); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--steel); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sky); }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all .22s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,168,75,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── NAVIGATION ────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(18, 32, 64, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,170,204,0.15);
  transition: all .3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 68px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.nav-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-brand-sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-light);
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  padding: 8px 14px;
  border-radius: 4px;
  transition: all .2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(91,170,204,0.15);
}
.nav-links .nav-cta a {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 8px 20px;
}
.nav-links .nav-cta a:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
}

/* ── PAGE HERO (shared) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #254480 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(91,170,204,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--sky-light); }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.15rem; max-width: 640px; }

/* ── SECTION TITLE BLOCK ───────────────────────────────── */
.section-title { margin-bottom: 56px; }
.section-title.text-center { display: flex; flex-direction: column; align-items: center; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { max-width: 620px; font-size: 1.05rem; }
.section-title .title-rule {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sky));
  margin: 16px 0 0;
  border-radius: 2px;
}
.section-title.text-center .title-rule { margin: 16px auto 0; }

/* ── CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── FEATURE ICON ──────────────────────────────────────── */
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.93rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--sky-light);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a {
  color: rgba(255,255,255,0.55);
  font-size: 0.93rem;
  transition: color .2s;
  text-decoration: none;
}
.footer-col ul a:hover { color: var(--sky-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.38);
}

/* ── SCREENSHOT FRAME ──────────────────────────────────── */
.screen-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(28,52,97,0.28);
  border: 1px solid var(--border);
}
.screen-frame img { display: block; width: 100%; height: auto; }

/* ── TESTIMONIAL PLACEHOLDER ───────────────────────────── */
.testimonial-placeholder {
  background: var(--offwhite);
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  color: var(--text-light);
  font-style: italic;
}

/* ── GRID HELPERS ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
}
