/* SandHero Public Web — Consistent across Chrome, Edge, Safari */
:root {
  --orange: #E8501E;
  --orange-dark: #c94318;
  --charcoal: #1E1E1E;
  --white: #FFFFFF;
  --gray: #888888;
  --gray-light: #f5f5f5;
  --gray-mid: #e8e8e8;
  --hivis: #E2F516;
  --text: #1E1E1E;
  --text-muted: #555555;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --max-width: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset for consistent rendering */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  scroll-behavior: smooth; 
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
section ul, section ol, .lead + ul, .lead + ol {
  list-style: disc;
  margin-left: 1.25rem;
  padding-left: 0.5rem;
}
section li, .lead + ul li { margin-bottom: 0.35rem; }

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

/* Header */
header {
  background: var(--charcoal);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 52px; width: auto; }
.logo:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--orange-dark); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  padding: 2.5rem 0 1.75rem;
  text-align: center;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}
.hero h1 span { color: var(--orange); }
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.25rem;
}
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }

/* Stats */
.stats {
  background: var(--gray-light);
  padding: 1.25rem 0;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-value { font-size: 1.35rem; font-weight: 700; color: var(--orange); line-height: 1.2; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Sections */
section { padding: 2rem 0; }
.section-alt { background: var(--gray-light); }
h2 { font-size: 1.75rem; margin-bottom: 0.5rem; color: var(--charcoal); }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.lead { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4rem; color: var(--charcoal); }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
footer {
  background: var(--charcoal);
  color: #ddd;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
footer a { color: #ddd; }
footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-bottom { border-top: 1px solid #333; padding-top: 1.5rem; font-size: 0.85rem; color: #aaa; text-align: center; }
.tagline { color: var(--orange); font-weight: 600; margin: 0.5rem 0; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.form-group label.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  line-height: 1.45;
}
.form-group label.consent input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); }
.honeypot { position: absolute; left: -9999px; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}
.nav-toggle:focus { outline: 2px solid var(--orange); }

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-top: 1px solid #333;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid #333;
  }
  .nav-cta { margin: 0.5rem 1.5rem; text-align: center; display: inline-block; }
  header { position: sticky; }
  .nav { position: relative; }
  .hero { padding: 1.75rem 0 1.25rem; }
  .hero h1 { font-size: 2rem; }
  .hero-lead { font-size: 1rem; }
  section { padding: 1.5rem 0; }
  .grid-2, .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-value { font-size: 1.15rem; }
  .container { padding: 0 1rem; }
  .btn { padding: 0.85rem 1.25rem; font-size: 1rem; }
  footer { padding: 2rem 0 1rem; margin-top: 1rem; }
}
