:root {
  --navy:       #1e3a5f;
  --blue-mid:   #3a6ea8;
  --sky:        #b8d4e8;
  --sky-light:  #daeaf4;
  --warm:       #e8a44a;
  --white:      #ffffff;
  --text:       #1a2b3c;
  --text-muted: #4a6177;
  --ff-display: 'Caveat', cursive;
  --ff-body:    'DM Sans', sans-serif;
  --radius:  14px;
  --shadow:  0 4px 24px rgba(30,58,95,.10);
  --transition: .25s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); color: var(--text); background: var(--white); line-height: 1.65; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: .9rem 2.5rem; background: var(--white); border-bottom: 1px solid var(--sky); box-shadow: 0 2px 12px rgba(30,58,95,.07); }
.logo { font-family: var(--ff-display); font-size: 1.45rem; color: var(--navy); text-decoration: none; letter-spacing: .03em; }
.main-nav { display: flex; gap: 2rem; }
.nav-link { font-size: .92rem; font-weight: 500; color: var(--blue-mid); text-decoration: none; position: relative; padding-bottom: 2px; transition: color var(--transition); }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--warm); transition: width var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--navy); cursor: pointer; }

/* HERO */
.hero { position: relative; min-height: 80vh; display: flex; align-items: flex-end; background-image: linear-gradient(160deg, rgba(30,58,95,.6) 0%, rgba(26,43,60,.4) 100%), url('../img/hal_2.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; padding: 5rem 2.5rem 4rem; }
.hero-blob { position: absolute; top: -80px; right: -120px; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.09); }
.hero-blob2 { position: absolute; bottom: -60px; left: -80px; width: 340px; height: 340px; border-radius: 50%; background: rgba(30,58,95,.12); }
.hero-content { position: relative; max-width: 600px; }
.hero-eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-light); margin-bottom: .75rem; }
.hero-title { font-family: var(--ff-display); font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1.05; color: var(--white); margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.15rem; color: var(--sky-light); max-width: 460px; margin-bottom: 2rem; }

/* BUTTONS */
.btn { display: inline-block; padding: .75rem 1.85rem; border-radius: 50px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; border: none; font-family: var(--ff-body); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,95,.18); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-warm { background: var(--warm); color: var(--white); }

/* SECTIONS */
.section { padding: 5rem 2.5rem; max-width: 1100px; margin: 0 auto; }
.section-light { background: var(--sky-light); }
.section-light .section { padding-top: 5rem; padding-bottom: 5rem; }
.section-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-mid); margin-bottom: .5rem; }
.section-title { font-family: var(--ff-display); font-size: clamp(2rem, 5vw, 3rem); color: var(--navy); line-height: 1.15; margin-bottom: 1.25rem; }
.section-body { color: var(--text-muted); max-width: 620px; }

/* TWO-COL */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* DONUT CSS ART */
.donut-visual { display: flex; justify-content: center; align-items: center; }
.donut-ring { position: relative; width: 220px; height: 220px; }
.donut-ring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--warm) 0%, #d4813a 25%, var(--warm) 50%, #c97a30 75%, var(--warm) 100%); box-shadow: 0 12px 40px rgba(232,164,74,.35); }
.donut-ring::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80px; height: 80px; border-radius: 50%; background: var(--sky-light); box-shadow: inset 0 4px 12px rgba(30,58,95,.15); }

/* CARD GRID */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; margin-top: 2.5rem; }
.card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border-top: 4px solid var(--sky); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(30,58,95,.14); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card-title { font-family: var(--ff-display); font-size: 1.4rem; color: var(--navy); margin-bottom: .6rem; }
.card p { font-size: .93rem; color: var(--text-muted); }

/* CTA STRIP */
.cta-strip { background: var(--navy); padding: 4rem 2.5rem; text-align: center; }
.cta-strip h2 { font-family: var(--ff-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 1rem; }
.cta-strip p { color: var(--sky); margin-bottom: 1.75rem; }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, var(--blue-mid) 0%, var(--navy) 100%); padding: 5rem 2.5rem 3.5rem; text-align: center; color: var(--white); }
.page-hero h1 { font-family: var(--ff-display); font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .5rem; }
.page-hero p { color: var(--sky-light); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2.5rem; }
.contact-info p { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; color: var(--text-muted); }
.contact-info strong { color: var(--navy); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea { padding: .75rem 1rem; border: 1.5px solid var(--sky); border-radius: var(--radius); font-family: var(--ff-body); font-size: .95rem; color: var(--text); background: var(--white); transition: border-color var(--transition); resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-mid); }
.contact-form textarea { min-height: 130px; }
.alert { padding: .85rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .92rem; display:none; }
.alert.show { display:block; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* FOOTER */
.site-footer { background: #0f2240; color: var(--sky-light); padding: 3.5rem 2.5rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1.5rem; }
.footer-brand .logo { color: var(--sky-light); font-size: 1.3rem; }
.footer-brand p { margin-top: .6rem; font-size: .88rem; color: var(--sky); }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { color: var(--sky); text-decoration: none; font-size: .9rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-contact p { font-size: .88rem; color: var(--sky); margin-bottom: .4rem; }
.footer-bottom { max-width: 1100px; margin: 0 auto; text-align: center; font-size: .82rem; color: rgba(184,212,232,.5); }

/* BLOG FEATURED */
.blog-featured { background: var(--sky-light); border-radius: var(--radius); padding: 3rem; margin: 2rem 0 3rem; box-shadow: var(--shadow); }
.blog-tag { display:inline-block; background:var(--navy); color:var(--white); font-size:.75rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; padding:.3rem .85rem; border-radius:50px; margin-bottom:1rem; }
.blog-featured h3 { font-family:var(--ff-display); font-size:1.9rem; color:var(--navy); margin-bottom:.75rem; line-height:1.2; }
.blog-featured p { color:var(--text-muted); margin-bottom:1.25rem; max-width:680px; }
.card-read-link { display:inline-block; margin-top:1rem; color:var(--blue-mid); font-weight:600; text-decoration:none; font-size:.9rem; }
.card-read-link:hover { color:var(--navy); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .site-header { padding: .9rem 1.25rem; }
  .main-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-bottom: 1px solid var(--sky); box-shadow: 0 8px 20px rgba(30,58,95,.1); z-index: 99; }
  .main-nav.open { display: flex; }
  .nav-link { padding: .85rem 1.5rem; border-bottom: 1px solid var(--sky-light); }
  .nav-link::after { display: none; }
  .nav-toggle { display: block; }
  .hero { min-height: 70vh; padding: 4rem 1.25rem 3rem; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 3rem 1.25rem; }
  .donut-visual { display: none; }
}

/* ── HERO IMAGE ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 5rem 2.5rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
  z-index: 0;
}
.hero .hero-blob,
.hero .hero-blob2 { display: none; }
.hero > * { position: relative; z-index: 1; }

/* ── PAGE HERO IMAGE ─────────────────────────────── */
.page-hero { position: relative; overflow: hidden; min-height: 400px; padding: 6rem 2.5rem 4rem; text-align: center; color: white; background: #1e3a5f; }
.hero-layer-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; }
.hero-layer-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(30,58,95,.6) 0%, rgba(26,43,60,.4) 100%); z-index: 1; }
.page-hero h1, .page-hero p { position: relative; z-index: 2; }
.hero-layer-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; } .hero-layer-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(30,58,95,.6) 0%, rgba(26,43,60,.4) 100%); z-index: 1; } .page-hero h1, .page-hero p { position: relative; z-index: 2; }
.page-hero { position: relative; overflow: hidden; min-height: 400px; padding: 6rem 2.5rem 4rem; text-align: center; color: white; background: #1e3a5f; }
/* ── SECTION IMAGE ───────────────────────────────── */
.section-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .section-img { height: 240px; }
}
