/* AKR & Associates — Standard Website
   Base styles shared across all pages */

:root {
  --navy: #0f2a4a;
  --navy-dark: #081b30;
  --navy-light: #1c3f68;
  --gold: #c9a227;
  --gold-dark: #a5841c;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1c2733;
  --text-muted: #5b6b7c;
  --border: #e2e6eb;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(15, 42, 74, 0.08);
  --shadow-hover: 0 8px 24px rgba(15, 42, 74, 0.14);
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.25;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }

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

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

.section {
  padding: 72px 0;
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header p { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-dark); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-text-sub {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: 8px 0;
  position: relative;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--navy);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--navy-light); color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, var(--navy-light));
  color: #fff;
  padding: 96px 0 88px;
}

.hero .container {
  max-width: 780px;
  text-align: center;
}

.hero h1 { color: #fff; }

.hero .sub-headline {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero p.intro {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 600px; margin: 0 auto; }

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.link-card {
  display: block;
  text-align: left;
}
.link-card .arrow {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--gold-dark);
}

/* Lists */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding: 6px 0 6px 30px;
  color: var(--text);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  font-size: 0.95rem;
}
.service-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.service-list li:last-child { border-bottom: none; }

/* Two-column content blocks */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.stat-row .stat strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  color: var(--navy);
}
.stat-row .stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Insights cards */
.insight-card .date-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.insight-card p.excerpt { font-size: 0.92rem; }

.notice-banner {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info-block {
  margin-bottom: 28px;
}
.contact-info-block h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.contact-info-block .value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-info-block .value + .value { margin-top: 4px; }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 42, 74, 0.1);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-status.success { color: #1a7a4c; }
.form-status.error { color: #b3261e; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
}
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* Responsive */
.main-nav a { white-space: nowrap; }

@media (max-width: 980px) {
  .main-nav { gap: 18px; }
  .brand-text-sub { display: none; }
}

@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 52px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .hero { padding: 72px 0 64px; }
}

/* Article (Insights post) */
.article-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 64px 0 48px;
}
.article-hero .container { max-width: 760px; }
.article-hero .eyebrow { color: var(--gold); }
.article-hero h1 { color: #fff; margin-bottom: 10px; }
.article-hero .article-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 18px;
}
.article-hero .article-byline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}
.article-body p { color: var(--text); font-size: 1.02rem; }
.article-body h2 {
  margin-top: 2.4em;
  padding-top: 0.6em;
  border-top: 1px solid var(--border);
}
.article-body h2:first-of-type { margin-top: 1.2em; padding-top: 0; border-top: none; }
.article-body h3 {
  margin-top: 1.8em;
  color: var(--navy-light);
}
.article-body ul,
.article-body ol {
  color: var(--text);
  padding-left: 1.4em;
  margin: 0 0 1.2em;
}
.article-body ul { list-style: disc; }
.article-body li { margin-bottom: 0.7em; }
.article-body li strong { color: var(--navy); }

.article-figure {
  margin: 2em 0;
}
.article-figure img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.article-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}

.article-disclaimer {
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}

.article-back {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 600;
  font-size: 0.92rem;
}

.article-pullquote {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy) !important;
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 20px;
  margin: 1.6em 0;
}

.article-callout {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px 8px;
  margin: 2em 0;
}
.article-callout h3 { margin-top: 0; }

.tag-pill {
  display: inline-block;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
