/* Sweet Spot RV — Shared Modern Stylesheet */
:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-alt: #eef2ec;
  --border: #dce3d9;
  --text: #1c241e;
  --text-muted: #4c5b50;
  --primary: #1f513b;
  --primary-hover: #173e2d;
  --primary-soft: #e6f0ea;
  --accent: #c96f1a;
  --accent-soft: #fdf2e6;
  --accent-border: #f0cda6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(24, 38, 28, 0.05);
  --shadow-md: 0 8px 24px rgba(24, 38, 28, 0.07);
  --max-width: 980px;
  --content-width: 780px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-hover);
}

main {
  flex: 1;
}

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

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

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

.brand:hover {
  color: var(--primary);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, #2f6f52 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background-color: var(--surface-alt);
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  background-color: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

/* Hero Section */
.hero {
  padding: 4rem 0 3rem;
}

.hero-card {
  background: linear-gradient(145deg, #1b4332 0%, #245741 55%, #2d6a4f 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  color: #edf5ef;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-lead {
  margin: 0 0 1.85rem;
  max-width: 60ch;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background-color 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-light {
  background-color: #ffffff;
  color: var(--primary);
}

.btn-light:hover {
  background-color: #f1f6f3;
  color: var(--primary-hover);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

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

.btn-secondary {
  background-color: var(--surface);
  color: var(--primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--surface-alt);
  color: var(--primary-hover);
}

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

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.card-link-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.card-link-list a {
  font-weight: 600;
  text-decoration: none;
}

.card-link-list a:hover {
  text-decoration: underline;
}

/* Page Header (Subpages) */
.page-banner {
  padding: 2.75rem 0 1.5rem;
}

.page-banner .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.page-banner h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.page-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Legal / Document Content */
.doc-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.doc-card h2 {
  margin: 2.1rem 0 0.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 1.32rem;
  letter-spacing: -0.015em;
  color: var(--text);
}

.doc-card h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.doc-card h3 {
  margin: 1.3rem 0 0.45rem;
  font-size: 1.05rem;
  color: var(--text);
}

.doc-card p {
  margin: 0 0 0.95rem;
  color: var(--text);
}

.doc-card ul,
.doc-card ol {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
}

.doc-card li {
  margin-bottom: 0.45rem;
}

.doc-card li strong {
  color: var(--text);
}

/* Callouts */
.callout {
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
  border: 1px solid var(--border);
  background-color: var(--surface-alt);
}

.callout-warn {
  background-color: var(--accent-soft);
  border-color: var(--accent-border);
}

.callout-title {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}

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

/* Support FAQ Accordions */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

details.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.03rem;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

details.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.faq-body p {
  margin: 0 0 0.75rem;
}

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

.faq-body ol,
.faq-body ul {
  margin: 0 0 0.75rem;
  padding-left: 1.35rem;
}

.faq-body li {
  margin-bottom: 0.35rem;
}

/* Info Table / Key-Value List */
.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  font-weight: 600;
  color: var(--text);
}

.info-value {
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

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

.footer-meta p {
  margin: 0;
}

.footer-meta .sub {
  font-size: 0.86rem;
  margin-top: 0.2rem;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .hero {
    padding: 2rem 0 1.75rem;
  }

  .hero-card {
    padding: 2rem 1.35rem;
  }

  .doc-card {
    padding: 1.4rem 1.2rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    padding: 0.4rem 0.65rem;
    font-size: 0.9rem;
  }
}
