/* Cowboy Catnip — site styles */
:root {
  --navy: #25384a;
  --navy-deep: #1a2938;
  --ink: #1f2933;
  --muted: #5b6672;
  --cream: #faf6ee;
  --paper: #ffffff;
  --sand: #f1e9d8;
  --green: #5f7b45;
  --green-soft: #e6eddc;
  --gold: #c8952c;
  --line: #e2dacb;
  --display: 'Rye', 'Georgia', serif;
  --body: 'Lora', 'Georgia', 'Times New Roman', serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(37, 56, 74, 0.10);
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, .brand-name { font-family: var(--display); font-weight: 400; color: var(--navy); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: 0.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7em 1.6em;
  border: 2px solid var(--navy);
  border-radius: 6px;
  background: transparent;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--green); border-color: var(--green); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover, .btn-light:focus-visible { background: #fff; color: var(--navy); }
.btn-sm { padding: 0.45em 1.1em; font-size: 0.85rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.5rem 0; }
.actions.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 238, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand-name { font-size: 1.25rem; margin: 0; color: var(--navy); white-space: nowrap; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.4rem; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--ink); padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--navy); }
.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.nav-burger span { display: block; height: 3px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); padding: clamp(2rem, 6vw, 4.5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.eyebrow { font-family: var(--display); color: var(--green); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; margin-bottom: 0.8rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.trust { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: 0.95rem; color: var(--muted); }
.trust li::before { content: '\2605'; color: var(--gold); margin-right: 0.4rem; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { text-align: center; }
.section-intro { text-align: center; max-width: 720px; margin: -0.3rem auto 2rem; color: var(--muted); font-size: 1.1rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 2px 8px rgba(37,56,74,0.04); }
.section-alt .card { background: var(--cream); }
.card h3 { margin-top: 0.4rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { padding: 0; overflow: hidden; }
.card-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-link h3, .card-link p { padding-inline: 1.4rem; }
.card-link h3 { margin-top: 1.1rem; }
.card-link p { padding-bottom: 1.4rem; }
.card-link h3 a { text-decoration: none; }
.card-link h3 a:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: center; }
.split-reverse { grid-template-columns: 3fr 2fr; }
.split-reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.price { font-family: var(--display); font-size: 2rem; color: var(--navy); margin: 0.2rem 0 0.8rem; }
.price span { font-family: var(--body); font-size: 1rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: 0.55rem; }
.checks li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.section-alt .steps li { background: var(--cream); }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--display); margin-bottom: 0.8rem; }
.steps h3 { margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--muted); }

.county-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem 1rem; }
.county-grid li { padding: 0.45rem 0.8rem; background: var(--green-soft); border-radius: 6px; color: var(--navy); font-weight: 600; font-size: 0.95rem; }
.county-grid-big li { padding: 0.7rem 1rem; }
.note { background: var(--sand); border-left: 4px solid var(--gold); padding: 0.9rem 1.1rem; border-radius: 0 6px 6px 0; }

.cta-band { background: var(--navy); color: #fff; text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 620px; margin-inline: auto; }
.cta-band .btn { margin-top: 0.5rem; }

/* Page hero / crumbs */
.page-hero { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 760px; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.meta { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 0.9rem; }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.4rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { font-family: var(--body); font-weight: 600; font-size: 1.1rem; margin: 0; color: var(--navy); }
.faq summary::after { content: '+'; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.5rem; color: var(--gold); }
.faq[open] summary::after { content: '\2212'; }
.faq-body { padding: 0 1.4rem 1.2rem; }
.faq-body p:last-child { margin: 0; }

/* Articles */
.article-body { padding: 2.5rem 0 3rem; }
.article-body h2 { margin-top: 2rem; }
.article-body h3 { margin-top: 1.4rem; }
.article-img { border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 2rem; width: 100%; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; background: var(--paper); font-size: 0.97rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: #fff; font-weight: 600; }
tbody th { background: var(--sand); font-weight: 600; white-space: nowrap; }
.related { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 2.5rem; }
.related h2 { font-size: 1.3rem; margin-top: 0; }
.related ul { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.contact-grid h2 { font-size: 1.35rem; }
.contact-email { font-size: 1.15rem; font-weight: 600; word-break: break-all; }
.contact-grid .btn { margin-top: 0.3rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-logo { width: 220px; height: auto; margin-bottom: 1rem; border-radius: 6px; }
.footer-heading { font-family: var(--display); font-size: 1.05rem; color: #fff; margin-bottom: 0.8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-counties { font-size: 0.95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid, .split, .split-reverse { grid-template-columns: 1fr; gap: 1.75rem; }
  .split-reverse .split-media { order: 0; }
  .hero-media { order: -1; }
  .split-media img { max-width: 560px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-burger { display: flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1rem 1rem; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 0.8rem; }
  .site-nav a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 0; }
  .site-nav .btn { display: block; text-align: center; }
  .nav-toggle:checked ~ .site-nav { display: block; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .brand-name { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .btn-sm { width: auto; }
  .actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
