/* Chad Nixon Marketing Site - shared styles
   Theme: navy #10233d, slate body text, Arial/system fonts */

:root {
  --navy: #10233d;
  --navy-dark: #0a1829;
  --navy-light: #1a3a5c;
  --slate: #334155;
  --slate-light: #64748b;
  --slate-muted: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --accent: #c9a227;
  --white: #ffffff;
  --max-width: 1000px;
  --max-narrow: 880px;
  --max-wide: 1100px;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(16, 35, 61, 0.08);
  --shadow-lg: 0 8px 24px rgba(16, 35, 61, 0.12);
  --font: Arial, Helvetica, "Segoe UI", system-ui, sans-serif;
  --line: 1.65;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--bg);
  line-height: var(--line);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--navy-light);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow {
  max-width: var(--max-narrow);
}

.container--wide {
  max-width: var(--max-wide);
}

main {
  flex: 1;
}

/* Header / Nav */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.logo {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--white);
  opacity: 0.9;
}

.logo span {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  opacity: 0.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
  align-items: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.25rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  text-decoration: underline;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero .lead {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 38rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

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

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

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

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--solid {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--solid:hover {
  background: var(--navy-light);
  color: var(--white);
}

/* Sections */
.section {
  padding: 3rem 0;
}

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

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

.section h2 {
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.section p {
  margin-bottom: 1rem;
}

.section ul {
  margin: 0.75rem 0 1.25rem 1.25rem;
}

.section li {
  margin-bottom: 0.4rem;
}

.placeholder-note {
  background: #fef9c3;
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: var(--slate);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.placeholder-note strong {
  color: var(--navy);
}

/* Cards / grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Trust / facts strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.trust-item {
  text-align: center;
  padding: 1rem;
}

.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

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

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero-ctas {
  justify-content: center;
}

/* Forms */
.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--slate);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
  border-color: var(--navy);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-top: 0.75rem;
}

.contact-form {
  max-width: 560px;
}

/* FAQ */
.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--white);
}

.faq-list summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "+ ";
  color: var(--slate-light);
}

.faq-list details[open] summary::before {
  content: "- ";
}

.faq-list details p {
  padding: 0 1.15rem 1rem;
  margin: 0;
}

/* In short box */
.in-short {
  background: var(--bg-alt);
  border-left: 4px solid var(--navy);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.in-short h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

/* Page header (non-hero) */
.page-header {
  background: var(--bg-alt);
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb a {
  color: var(--slate-light);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
  max-width: var(--max-wide);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.25rem;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: var(--max-wide);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.footer-bottom p {
  margin-bottom: 0.35rem;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0 0.75rem;
  }

  .site-nav a {
    display: block;
    padding: 0.55rem 0;
    width: 100%;
  }

  .hero {
    padding: 2.5rem 0 2.25rem;
  }

  .section {
    padding: 2.25rem 0;
  }
}
