/*
Theme Name: Insurance Specialists 2
Theme URI: https://insurancespecialists.com
Description: Custom theme for Insurance Specialists — self-contained page templates with hardcoded content.
Author: Insurance Specialists
Version: 2.0
License: All Rights Reserved
Text Domain: insurance-specialists
*/

/* ── SHARED RESET & BASE ── */
:root {
  --navy: #0C2957;
  --blue: #1A5DC8;
  --blue-light: #EBF2FF;
  --white: #FFFFFF;
  --off-white: #F5F8FF;
  --border: #D9E4F5;
  --text: #1C2C44;
  --body: #3D5278;
  --muted: #7A90B3;
  --green: #14B872;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', sans-serif;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

/* ── SHARED NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo img { height: 42px; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; color: var(--body);
  font-size: .85rem; font-weight: 500;
  padding: 7px 13px; border-radius: 6px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.btn-nav {
  background: var(--blue) !important; color: var(--white) !important;
  padding: 9px 20px !important; border-radius: 8px !important;
  font-weight: 600 !important; margin-left: 8px;
  box-shadow: 0 2px 8px rgba(26,93,200,.3);
  transition: background .15s !important;
}
.btn-nav:hover { background: #154dab !important; }

/* Mobile nav */
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); padding: 4px; }

/* ── SHARED FOOTER ── */
.site-footer {
  background: #07172F;
  padding: 60px 5% 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; max-width: 1100px; margin: 0 auto 48px;
}
.footer-brand img { height: 36px; margin-bottom: 14px; display: block; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .83rem; color: rgba(255,255,255,.38); line-height: 1.7; max-width: 240px; }
.footer-col h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.45); text-decoration: none; font-size: .86rem; transition: color .15s; }
.footer-col ul li a:hover { color: white; }
.subscribe-form { display: flex; gap: 8px; }
.subscribe-form input {
  flex: 1; padding: 9px 13px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px; color: white; font-size: .8rem;
  font-family: 'Sora', sans-serif; outline: none; transition: border-color .15s;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,.3); }
.subscribe-form input:focus { border-color: rgba(26,93,200,.6); }
.subscribe-form button {
  padding: 9px 14px; background: var(--blue); color: white;
  border: none; border-radius: 6px; font-weight: 600; font-size: .8rem;
  cursor: pointer; font-family: 'Sora', sans-serif; white-space: nowrap;
  transition: background .15s;
}
.subscribe-form button:hover { background: #154dab; }
.sub-note { font-size: .7rem; color: rgba(255,255,255,.22); margin-top: 7px; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom span { font-size: .78rem; color: rgba(255,255,255,.23); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.28); text-decoration: none; font-size: .78rem; transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.6); }

/* ── SHARED SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* ── SHARED RESPONSIVE ── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; }
}
