/* =====================================================
   heggie.biz — Main Stylesheet
   Palette: deep navy #0a3d6b, white, warm grey
   ===================================================== */

:root {
  --blue:        #0a3d6b;
  --blue-dark:   #061f38;
  --blue-light:  #1a5fa0;
  --accent:      #e8a020;
  --text:        #222222;
  --text-light:  #555555;
  --bg:          #ffffff;
  --bg-alt:      #f5f7f8;
  --border:      #dde3e6;
  --font-head:   'Lora', Georgia, serif;
  --font-body:   'DM Sans', 'Helvetica Neue', sans-serif;
  --max-width:   960px;
  --radius:      4px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #eef2f5;
  line-height: 1.7;
}

main > section,
main > div {
  background: var(--bg);
}

main > section.alt {
  background: var(--bg-alt);
}

a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  background: var(--blue-dark);
  color: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}
.site-title:hover { text-decoration: none; opacity: 0.9; }

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: 28px;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a.active {
  color: white;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: var(--blue);
  color: white;
  padding: 72px 24px 64px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.1s;
}
.hero-cta:hover {
  background: #d48f18;
  text-decoration: none;
  transform: translateY(-1px);
}

/* =====================================================
   SECTIONS
   ===================================================== */
section { padding: 64px 24px; }
section.alt { background: var(--bg-alt); }

.section-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-intro {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 640px;
}

/* =====================================================
   THREE PILLARS
   ===================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.pillar h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =====================================================
   ABOUT STRIP
   ===================================================== */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

.about-strip img {
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  width: 100%;
}

.about-strip blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-light);
  font-style: italic;
  font-size: 1.05rem;
}

/* =====================================================
   TRUST SIGNALS
   ===================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.trust-item span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* =====================================================
   HOW I WORK PAGE
   ===================================================== */
.page-hero {
  background: var(--blue);
  color: white;
  padding: 48px 24px;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: 2rem;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  font-size: 1.05rem;
}

.content-block {
  max-width: 720px;
  margin: 0 auto;
}

.content-block h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--blue);
  margin: 40px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.content-block h2:first-child { border-top: none; margin-top: 0; }

.content-block p { margin-bottom: 16px; color: var(--text); }

.content-block ul {
  margin: 0 0 16px 20px;
  color: var(--text);
}

.content-block ul li { margin-bottom: 6px; }

.engagement-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.engagement-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px;
}

.engagement-card h4 {
  font-family: var(--font-head);
  color: var(--blue);
  margin-bottom: 8px;
}

.engagement-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  font-size: 1.5rem;
  margin-top: 2px;
}

.contact-detail h4 {
  font-family: var(--font-head);
  color: var(--blue);
  margin-bottom: 4px;
}

.contact-detail p, .contact-detail a {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.6);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: white; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip img { max-width: 280px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-nav a { margin-left: 16px; }
}
