/* ============================================================
   THE JACKSON-McLAIN AGENCIES — Home / Apply / Thank You
   Navy recruitment theme. Branding uses the Jackson-McLain
   (Globe Life / Liberty National Division) lockup, not the
   Stephanie Jackson monogram.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:      #06294a;
  --navy-2:    #0c3a66;
  --navy-deep: #041d36;
  --gold:      #f7c600;
  --gold-dark: #a9760a;
  --ink:       #1f2937;
  --muted:     #5b6577;
  --light:     #f4f7fb;
  --line:      #e3e8ef;
  --white:     #ffffff;
  --green:     #2ecc71;

  --font-head: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Lato', system-ui, sans-serif;

  --max-w: 1140px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(6, 41, 74, 0.10);
  --transition: 0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section--navy { background: var(--navy); color: #dfe7f1; }
.section--light { background: var(--light); }
.narrow { max-width: 820px; margin: 0 auto; }
.center { text-align: center; }

/* ── Headings ── */
.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.section--navy .eyebrow { color: var(--gold); }
.section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 14px;
}
.section--navy .section-title { color: var(--white); }
.section-sub {
  font-size: 1.02rem;
  color: var(--muted);
  margin-bottom: 40px;
}
.section--navy .section-sub { color: #b8c6da; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 38px;
  border-radius: 6px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 22px rgba(247, 198, 0, 0.32);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

/* ── Header ── */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 16px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-header .header-logo { height: 64px; width: auto; object-fit: contain; }

/* ── Hero ── */
.hero {
  background:
    linear-gradient(rgba(4, 21, 38, 0.82), rgba(4, 21, 38, 0.88)),
    radial-gradient(circle at 20% 10%, #0c3a66 0%, var(--navy) 60%);
  color: var(--white);
  text-align: center;
  padding: 96px 0 104px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.12;
  max-width: 900px;
  margin: 0 auto 20px;
}
.hero p {
  font-size: 1.18rem;
  color: #c6d3e6;
  max-width: 760px;
  margin: 0 auto 34px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Owner bio (Who We Are) ── */
.bio-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}
.bio-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border: 5px solid var(--white);
}
.bio-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.bio-role { color: var(--gold-dark); font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.bio-body p { color: var(--muted); margin-bottom: 12px; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.card h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: 0.95rem; }

/* Cards on navy */
.card--navy {
  background: var(--navy-2);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.card--navy h3 { color: var(--white); }
.card--navy p { color: #c3d1e4; }

/* Icon badge */
.icon-badge {
  width: 54px; height: 54px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(247, 198, 0, 0.14);
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.card--navy .icon-badge { background: rgba(247, 198, 0, 0.2); color: var(--gold); }
.icon-badge svg { width: 26px; height: 26px; }

/* Career path stages */
.stage { position: relative; }
.stage-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}
.stage .pay { color: var(--gold); font-weight: 700; margin-top: 8px; display: block; }

/* ── Team grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card { text-align: center; }
.team-card img {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 14px;
  box-shadow: var(--shadow);
}
.team-name { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.team-role { color: var(--gold-dark); font-size: 0.9rem; font-weight: 600; }

/* ── Testimonials ── */
.tcard {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.tcard .quote { color: #dfe7f1; font-style: italic; line-height: 1.7; margin-bottom: 14px; }
.tcard .stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.tcard .attr { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 0.92rem; }
.tcard .attr span { display: block; color: #9fb2cc; font-weight: 400; font-size: 0.82rem; }

/* ── What we look for ── */
.checklist { list-style: none; max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px 18px; color: var(--ink);
}
.checklist li svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }

/* ── Final CTA ── */
.cta-band { text-align: center; }
.cta-band h2 {
  font-family: var(--font-head);
  font-size: 2.1rem; font-weight: 800; color: var(--white);
  margin-bottom: 14px;
}
.cta-band p { color: #c6d3e6; max-width: 640px; margin: 0 auto 30px; }

/* ── Footer ── */
.site-footer { background: var(--navy-deep); color: #aebccf; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-logo { height: 56px; width: auto; margin-bottom: 16px; }
.footer-col h4 {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.footer-col p, .footer-col a { color: #aebccf; font-size: 0.92rem; line-height: 1.7; }
.footer-col a:hover { color: var(--gold); }
.office { margin-bottom: 16px; }
.office strong { color: #d7e1ee; display: block; }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.socials a:hover { background: var(--gold); color: var(--navy-deep); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px; text-align: center; font-size: 0.82rem; color: #8395ad;
}
.footer-bottom .disclaimer { max-width: 820px; margin: 8px auto 0; font-size: 0.76rem; color: #6f8197; }

/* ── Thank-you page ── */
.ty-wrap { max-width: 720px; margin: 0 auto; text-align: center; padding: 70px 22px 40px; }
.ty-title { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.ty-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 30px; }
.ty-check {
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 30px;
}
.ty-check svg { width: 40px; height: 40px; }
.ty-icons { display: flex; gap: 26px; justify-content: center; color: var(--navy); margin: 10px 0 40px; flex-wrap: wrap; }
.ty-icons svg { width: 46px; height: 46px; opacity: 0.85; }
.ty-next { text-align: left; max-width: 560px; margin: 0 auto 36px; }
.ty-next h3 { font-family: var(--font-head); text-align: center; color: var(--navy); font-size: 1.4rem; margin-bottom: 18px; }
.ty-next ul { list-style: none; display: grid; gap: 12px; }
.ty-next li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.ty-next li svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; margin-top: 4px; }
.ty-quote {
  background: var(--light); border-radius: var(--radius);
  padding: 26px 28px; text-align: center; max-width: 640px; margin: 0 auto;
}
.ty-quote p { font-style: italic; color: var(--muted); margin-bottom: 12px; }
.ty-quote .attr { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 0.9rem; }

/* ── Apply page ── */
.apply-intro { text-align: center; padding: 56px 0 10px; }
.apply-intro h1 { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.apply-intro p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.apply-embed { max-width: 820px; margin: 0 auto; padding: 30px 22px 70px; }
.apply-embed iframe { width: 100%; border: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 70px 0; }
  .hero h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.6rem; }
}
