/* ============================================================
   Holden Royalties — Shared Stylesheet
   Colors:
     Navy:       #1A3A5C
     Gold:       #C9A66B
     Light Gold: #E8D5A3
     White:      #FFFFFF
     Light Gray: #F7F7F5
     Text:       #2C2C2C
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #2C2C2C;
  background: #FFFFFF;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; }

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

ul { list-style: none; }

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid #E8D5A3;
}

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

.nav-logo img {
  height: 80px;
  width: auto;
}

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

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2C2C2C;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover { color: #C9A66B; border-bottom-color: #C9A66B; }
.nav-links a.active { border-bottom-color: #C9A66B; color: #1A3A5C; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #1A3A5C;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1A3A5C;
  color: #E8D5A3;
  padding: 40px 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-copy { font-size: 0.83rem; color: #E8D5A3; }
.footer-contact { font-size: 0.85rem; text-align: center; }
.footer-contact a { color: #C9A66B; transition: opacity 0.2s; }
.footer-contact a:hover { opacity: 0.8; }

.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #E8D5A3;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #C9A66B; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: #C9A66B;
  color: #1A3A5C;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: #b8925a; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 2px solid #C9A66B;
  color: #C9A66B;
}
.btn-outline:hover { background: #C9A66B; color: #1A3A5C; }

/* ---------- Hero (shared) ---------- */
.hero {
  background: #1A3A5C;
  color: #FFFFFF;
  padding: 100px 0 80px;
  text-align: center;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9A66B;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: #FFFFFF;
  margin-bottom: 16px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #E8D5A3;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #1A3A5C;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

.gold-rule {
  width: 48px;
  height: 3px;
  background: #C9A66B;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ---------- Cards (value props) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 40px 32px;
  text-align: center;
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.2rem;
  color: #1A3A5C;
  margin-bottom: 12px;
}

.card p { font-size: 0.97rem; color: #555; }

/* ---------- Counties Grid ---------- */
.section-gray { background: #F7F7F5; }

.counties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 24px;
}

.county-item {
  background: #FFFFFF;
  border: 1px solid #E8D5A3;
  border-radius: 6px;
  padding: 18px 20px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1A3A5C;
}

.counties-note {
  text-align: center;
  font-size: 0.92rem;
  color: #666;
  font-style: italic;
  margin-top: 8px;
}

/* ---------- CTA Strip ---------- */
.cta-strip {
  background: #1A3A5C;
  text-align: center;
  padding: 64px 0;
}

.cta-strip h2 {
  color: #FFFFFF;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 28px;
}

/* ---------- How It Works Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 48px; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
}

.step-num {
  width: 70px;
  height: 70px;
  background: #1A3A5C;
  color: #C9A66B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.35rem;
  color: #1A3A5C;
  margin-bottom: 10px;
}

.step-content p { font-size: 1rem; color: #444; }

.step-divider {
  width: 1px;
  height: 32px;
  background: #E8D5A3;
  margin: 0 35px;
}

.hiw-note {
  text-align: center;
  background: #F7F7F5;
  border-radius: 6px;
  padding: 28px 32px;
  margin-top: 56px;
  font-size: 0.97rem;
  color: #555;
}

.hiw-note a { color: #C9A66B; font-weight: 700; }

/* ---------- About Sections ---------- */
.about-section { margin-bottom: 56px; }
.about-section:last-child { margin-bottom: 0; }

.about-section h2 {
  font-size: 1.6rem;
  color: #1A3A5C;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E8D5A3;
}

.about-section p { font-size: 1rem; color: #444; margin-bottom: 16px; }

.about-list {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.about-list li {
  padding-left: 22px;
  position: relative;
  font-size: 1rem;
  color: #444;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C9A66B;
}

/* ---------- Glossary ---------- */
.glossary-search {
  display: flex;
  max-width: 480px;
  margin: 0 auto 48px;
}

.glossary-search input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #E8D5A3;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.glossary-search input:focus { border-color: #C9A66B; }

.glossary-search button {
  background: #C9A66B;
  color: #1A3A5C;
  border: none;
  padding: 12px 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 1rem;
}

.glossary-letter {
  margin-bottom: 40px;
}

.glossary-letter-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #C9A66B;
  border-bottom: 2px solid #E8D5A3;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.glossary-term {
  border-bottom: 1px solid #F0EDE5;
  padding: 18px 0;
}

.glossary-term:last-child { border-bottom: none; }

.term-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1A3A5C;
  margin-bottom: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.term-name::after {
  content: '+';
  font-size: 1.1rem;
  color: #C9A66B;
  font-weight: 400;
  transition: transform 0.2s;
}

.glossary-term.open .term-name::after { content: '−'; }

.term-def {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.7;
  display: none;
  padding-top: 4px;
}

.glossary-term.open .term-def { display: block; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.15rem;
  color: #1A3A5C;
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

.contact-info-text { font-size: 1rem; color: #444; }
.contact-info-text strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 700; color: #1A3A5C; margin-bottom: 2px; }
.contact-info-text a { color: #C9A66B; }

.contact-hours {
  background: #F7F7F5;
  border-left: 3px solid #C9A66B;
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  margin-top: 28px;
  font-size: 0.92rem;
  color: #555;
}

/* Form */
.contact-form-wrap { background: #FFFFFF; border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); padding: 40px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1A3A5C;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D8D0C0;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.97rem;
  color: #2C2C2C;
  background: #FAFAF8;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #C9A66B;
  box-shadow: 0 0 0 3px rgba(201,166,107,0.15);
  background: #FFFFFF;
}

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

.form-note { font-size: 0.85rem; color: #888; margin-top: 8px; font-style: italic; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .counties-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }

  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #FFFFFF; border-bottom: 1px solid #E8D5A3; padding: 20px 24px 28px; gap: 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .counties-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step-num { width: 52px; height: 52px; font-size: 1.3rem; }

  .site-footer .container { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
