/* ==========================================================
   LighthUSA — brand stylesheet
   Palette (from brand guide):
   Navy #0C2340 | Deep Blue #1B3A5C | Ocean Blue #1A6FA0
   Sky Blue #5BA4CF | Beacon Gold #E8A838 | Sand #F5EDE0
   ========================================================== */

:root {
  --navy: #0C2340;
  --deep-blue: #1B3A5C;
  --ocean: #1A6FA0;
  --sky: #5BA4CF;
  --gold: #E8A838;
  --gold-dark: #d1922b;
  --sand: #F5EDE0;
  --white: #ffffff;
  --text: #33445c;
  --text-light: #b9c6d8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 35, 64, 0.10);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-quote: 'Lora', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--gold-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }

.container { width: min(1180px, 92%); margin: 0 auto; }
section { padding: 84px 0; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold); }
.eyebrow.blue { color: var(--ocean); }

.lead { font-size: 1.15rem; max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--deep-blue); color: var(--white); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
}
.brand:hover { color: var(--white); }
.brand svg { width: 28px; height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links .btn { padding: 10px 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(12,35,64,.95) 0%, rgba(12,35,64,.84) 45%, rgba(12,35,64,.55) 100%),
    url('../images/hero.jpg') center right / cover no-repeat,
    var(--deep-blue);
  color: var(--white);
  padding: 110px 0 120px;
  overflow: hidden;
}
.hero-inner { position: relative; max-width: 680px; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero .quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sky);
  margin-bottom: 20px;
}
.hero p.sub { color: var(--text-light); font-size: 1.12rem; margin-bottom: 34px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(100deg, var(--navy) 0%, var(--deep-blue) 100%);
  color: var(--white);
  padding: 90px 0;
}
.page-hero h1 { color: var(--white); max-width: 800px; margin-bottom: 18px; }
.page-hero p { color: var(--text-light); max-width: 680px; font-size: 1.12rem; }

/* ---------- Sections ---------- */
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: var(--text-light); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.mission blockquote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: var(--navy);
  max-width: 850px;
  margin: 0 auto 26px;
}

/* Card grids */
.grid { display: grid; gap: 26px; margin-top: 48px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.98rem; }

.value-card { border-top: 4px solid var(--gold); }
.value-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

/* Service cards on dark bg */
.service-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.service-card h3 { color: var(--gold); margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 0.98rem; }

/* Service detail blocks (services page) */
.service-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 38px 0;
  border-bottom: 1px solid #e4dccb;
}
.service-detail:last-child { border-bottom: none; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--navy);
  color: var(--gold);
}
.service-detail .tagline {
  font-family: var(--font-quote);
  font-style: italic;
  color: var(--ocean);
  margin-bottom: 12px;
}
.service-detail ul { margin: 14px 0 16px 20px; }
.service-detail li { margin-bottom: 7px; font-size: 0.98rem; }
.impact {
  background: var(--sand);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.95rem;
}
.impact strong { color: var(--navy); }

/* Stats */
.stats { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 36px; }
.stat .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
}
.stat .label { font-size: 0.95rem; }

/* Journey strip */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.journey .step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.journey .step .word {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 8px;
}
.journey .step p { font-size: 0.9rem; color: var(--text-light); }

/* Two-column media rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split .art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-top: 40px; }
.contact-list { list-style: none; margin-top: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-list .ico { color: var(--gold); font-size: 1.2rem; }

form .field { margin-bottom: 20px; }
form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 6px;
}
form input, form select, form textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid #cdd6e2;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(26,111,160,.15);
}
form textarea { min-height: 140px; resize: vertical; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .btn { margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--text-light); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.site-footer .brand { margin-bottom: 18px; }
.site-footer .quote {
  font-family: var(--font-quote);
  font-style: italic;
  color: var(--sky);
  margin-bottom: 14px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--text-light); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 80px 0 90px; }
  .hero .beacon-art { display: none; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 4% 20px;
    display: none;
    box-shadow: 0 12px 20px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 10px; width: 100%; justify-content: center; }
  .service-detail { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
