/* =============================================
   Localdadmin LLC — Shared Stylesheet
   Pure CSS3 · No frameworks · No build tools
   ============================================= */

/* --- Variables --- */
:root {
  --brand-1: #00263e;
  --brand-2: #061b2f;
  --brand-3: #020f1e;
  --brand-4: #384651;
  --brand-5: #4e606d;
  --brand-6: #d7dee1;
  --brand-7: #eaf1f2;
  --brand-8: #8d99a1;
  --brand-9: #a5b5bd;
  --brand-10: #c3cacd;
  --brand-11: #a2fb81;
  --brand-12: #fa943f;

  --primary: var(--brand-1);
  --primary-dark: var(--brand-3);
  --accent: var(--brand-12);
  --accent-hover: #e57d29;
  --accent-light: #fff2e8;
  --accent-border: #f8c49a;
  --text: var(--brand-2);
  --text-muted: var(--brand-5);
  --bg: var(--brand-7);
  --surface: #ffffff;
  --surface-alt: var(--brand-6);
  --border: var(--brand-10);
  --radius: 0.45rem;
  --radius-lg: 0.9rem;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05);
  --max-width: 1080px;
  --focus-outline: var(--accent);
  --focus-ring: rgba(250, 148, 63, 0.24);
  --link: var(--primary);
  --link-hover: var(--primary-dark);
  --footer-link: rgba(255, 255, 255, 0.84);
  --footer-text: rgba(255, 255, 255, 0.72);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--link);
}
a:hover {
  color: var(--link-hover);
}
a:focus-visible {
  color: var(--link-hover);
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   Header & Navigation
   ============================================= */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: var(--radius);
}
.site-logo:focus-visible {
  outline: 2px solid var(--focus-outline);
  outline-offset: 3px;
}
.site-logo-image {
  height: 52px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
}
nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  transition:
    background 0.15s,
    color 0.15s;
}
nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
}
nav a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

/* =============================================
   Hero (home page)
   ============================================= */
.hero {
  background: linear-gradient(
    140deg,
    var(--primary-dark) 0%,
    var(--primary) 55%,
    var(--brand-4) 100%
  );
  color: #fff;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}
.hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(250, 148, 63, 0.16);
  border: 1px solid rgba(250, 148, 63, 0.6);
  color: #ffe8d6;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.15s,
    outline 0.1s;
  line-height: 1.4;
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  color: #fff;
}
.btn:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-1px);
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  outline-color: var(--focus-outline);
}
.btn-full {
  width: 100%;
  text-align: center;
}

/* =============================================
   Page Hero (inner pages)
   ============================================= */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

/* =============================================
   Section Base
   ============================================= */
.section {
  padding: 4.5rem 1.5rem;
}
.section-alt {
  background: var(--surface);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

/* =============================================
   Services Grid
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-icon {
  font-size: 1.9rem;
  margin-bottom: 0.85rem;
  display: block;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =============================================
   CTA Band
   ============================================= */
.cta-band {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 4.5rem 1.5rem;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* =============================================
   About Page
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}
.about-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.sidebar-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  margin-top: 1.5rem;
}
.sidebar-heading:first-child {
  margin-top: 0;
}
.skill-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.skill-list li {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.about-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}
.about-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-stats {
  display: flex;
  gap: 2.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* =============================================
   Contact Page
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}
.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}
.contact-info p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.contact-detail span {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* SMS Consent */
.sms-consent {
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.sms-consent input[type="checkbox"] {
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
  cursor: pointer;
}
.sms-consent label {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.55;
  cursor: pointer;
}
.form-policy-links {
  margin-top: 0.9rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}
.form-policy-links a {
  color: var(--link);
  text-decoration: underline;
}
.form-policy-links a:focus-visible {
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
  border-radius: 2px;
}
.cf-turnstile {
  margin-bottom: 1rem;
}
.form-status {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 1.25rem;
}

/* =============================================
   Prose Sections (Privacy / Terms)
   ============================================= */
.prose-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.prose-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.prose-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.prose-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.1rem 0 0.4rem;
}
.prose-section p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.prose-section ul {
  padding-left: 1.4rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.prose-section ul li {
  margin-bottom: 0.3rem;
}

/* Highlighted compliance notice */
.notice-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin: 1.25rem 0;
}
.notice-box p {
  color: var(--text) !important;
  font-weight: 600;
  margin: 0 !important;
  line-height: 1.6;
}

/* Messaging Terms block */
.messaging-terms {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 1rem 0;
}
.messaging-terms ul {
  margin: 0.5rem 0 0;
}

/* =============================================
   Footer
   ============================================= */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--footer-link);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-links a:focus-visible {
  color: #fff;
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
  border-radius: 2px;
}
footer p {
  font-size: 0.9rem;
  color: var(--footer-text);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 0.6rem;
  }
  .site-logo-image {
    height: 44px;
  }
  nav {
    justify-content: center;
  }
  .hero {
    padding: 3.5rem 1rem 3rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .about-stats {
    gap: 1.5rem;
  }
  .section {
    padding: 3rem 1rem;
  }
  .prose-section {
    padding: 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
