/* ============================================================
   Reichard Reviews LLC — rr-site.css
   Shared stylesheet replacing Nicepage dependency
   ============================================================ */

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

:root {
  --navy:       #1a2f5a;
  --navy-dark:  #0f1e3d;
  --blue:       #2a4a8a;
  --blue-mid:   #478ac9;
  --blue-light: #e8edf8;
  --grey-bg:    #f4f6fb;
  --grey-5:     #f5f5f5;
  --grey-80:    #333333;
  --white:      #ffffff;
  --text:       #222831;
  --muted:      #5a6380;
  --border:     #dde2f0;
  --footer-bg:  #2e2e2e;
  --header-h:   72px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }

/* ── Site Header ── */
.rr-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.rr-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}
.rr-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.rr-logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.rr-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
}

/* Desktop nav */
.rr-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.rr-nav a {
  display: block;
  padding: 8px 11px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.rr-nav a:hover,
.rr-nav a.active { background: rgba(255,255,255,0.12); color: #fff; }

/* Hamburger button */
.rr-hamburger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #fff;
}
.rr-hamburger svg { display: block; }

/* Mobile drawer */
.rr-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}
.rr-mobile-nav.open { display: block; }
.rr-mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.rr-mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: var(--navy-dark);
  padding: 24px 0 40px;
  display: flex;
  flex-direction: column;
}
.rr-mobile-close {
  align-self: flex-end;
  margin-right: 16px;
  margin-bottom: 16px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}
.rr-mobile-links {
  list-style: none;
  padding: 0 8px;
}
.rr-mobile-links a {
  display: block;
  padding: 13px 20px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.15s;
}
.rr-mobile-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }

@media (max-width: 860px) {
  .rr-nav { display: none; }
  .rr-hamburger { display: block; }
}

/* ── Page Layout ── */
.rr-sheet {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.rr-section { padding: 60px 0; }
.rr-section-sm { padding: 36px 0; }

/* ── Hero Banner (image-backed) ── */
.rr-page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--blue) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px 56px;
}
.rr-page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.rr-page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Home Hero ── */
.rr-home-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--blue) 100%);
  color: #fff;
  padding: 80px 24px 72px;
  text-align: center;
}
.rr-home-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.rr-home-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Home Feature Cards ── */
.rr-cards-section {
  background: var(--grey-5);
  padding: 64px 24px;
}
.rr-cards-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  text-align: center;
  color: var(--navy);
  margin-bottom: 10px;
}
.rr-cards-section .subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 40px;
}
.rr-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.rr-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.rr-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.rr-card-icon svg { width: 24px; height: 24px; color: var(--blue); }
.rr-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--navy);
}
.rr-card p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* ── Section heading ── */
.rr-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.rr-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--blue-mid);
  margin-bottom: 8px;
}

/* ── Contact page ── */
.rr-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}
.rr-contact-layout h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.rr-contact-layout h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}
.rr-contact-layout p { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }

.rr-contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.rr-contact-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.rr-contact-icon svg { width: 26px; height: 26px; color: var(--blue); }
.rr-contact-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.rr-contact-card a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.97rem;
}
.rr-contact-card a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .rr-contact-layout { grid-template-columns: 1fr; padding: 40px 16px; }
}

/* ── FAQ page ── */
.rr-faq-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 24px 70px;
}
.rr-faq-intro {
  text-align: center;
  margin-bottom: 40px;
}
.rr-faq-intro h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.rr-faq-intro p { color: var(--muted); font-size: 0.97rem; }
.rr-faq-intro a { color: var(--blue); font-weight: 600; }

.rr-faq-group { margin-bottom: 40px; }
.rr-faq-group-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--blue);
  border-bottom: 2px solid var(--blue-light);
  padding-bottom: 8px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  font-weight: 700;
}

.rr-accordion-item {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
}
.rr-accordion-btn {
  width: 100%;
  background: var(--grey-5);
  border: none;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.15s;
}
.rr-accordion-btn:hover { background: var(--blue-light); }
.rr-accordion-btn.open { background: var(--blue-light); color: var(--blue); }
.rr-accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-mid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s, background 0.15s;
}
.rr-accordion-btn.open .rr-accordion-icon {
  transform: rotate(45deg);
  background: var(--blue);
}
.rr-accordion-body {
  display: none;
  padding: 16px 20px 18px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.rr-accordion-body.open { display: block; }
.rr-accordion-body ul { padding-left: 20px; margin-top: 8px; }
.rr-accordion-body li { margin-bottom: 4px; }

/* ── Legal pages (privacy/terms) ── */
.rr-legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 24px 80px;
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.8;
}
.rr-legal-content h1,
.rr-legal-content h2,
.rr-legal-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 12px;
}
.rr-legal-content h1 { font-size: 2rem; margin-top: 0; }
.rr-legal-content h2 { font-size: 1.35rem; }
.rr-legal-content h3 { font-size: 1.1rem; }
.rr-legal-content p { margin-bottom: 14px; }
.rr-legal-content ul, .rr-legal-content ol { padding-left: 24px; margin-bottom: 14px; }
.rr-legal-content li { margin-bottom: 6px; }
.rr-legal-content a { color: var(--blue); }
.rr-legal-content strong { color: var(--navy); }
.rr-legal-content .effective-date {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

/* ── Footer ── */
.rr-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
  line-height: 1.6;
}
.rr-footer a { color: rgba(255,255,255,0.75); }
.rr-footer a:hover { color: #fff; }

/* ── Utility ── */
.rr-divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 48px 0;
}
