/* === VARIABLES === */
:root {
  --navy: #1a3c5e;
  --orange: #e05c2a;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --text: #333333;
  --text-muted: #666666;
  --border: #d9e4ee;
  --green: #1a7a3c;
  --red: #c0392b;
  --amber: #e07b2a;
  --badge-trustpilot: #00b67a;
  --badge-reddit: #ff4500;
  --badge-google: #4285f4;
  --badge-tripadvisor: #34e0a1;
  --max-width: 860px;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

/* === BASE === */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1.25rem; }
h3 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
  margin: 0;
  font-style: italic;
  color: #444;
}

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 3rem 0; }
section:nth-of-type(even) { background: var(--bg-alt); }

/* === HEADER === */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.site-header .container {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-logo__img { height: 40px; width: auto; display: block; }

/* Mobile nav */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; }
.site-nav a {
  display: block;
  padding: 0.6rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav a:hover, .site-nav a.active { color: #fff; text-decoration: none; }
.site-nav a.active { font-weight: 600; }

/* === FOOTER === */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-logo { display: flex; align-items: center; margin-bottom: 0.75rem; }
.footer-logo img { height: 32px; width: auto; opacity: 0.9; }
.site-footer h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.875rem; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
/* === INNER PAGE LAYOUT === */
.page-content { padding: 4rem 0 5rem; }
.page-content h1 { margin-bottom: 1.5rem; }
.page-content h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.35rem; }
.page-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.page-content p, .page-content li { font-size: 0.95rem; }
.page-content ol { padding-left: 1.5rem; }
.page-content ol li { margin-bottom: 0.5rem; }
.page-breadcrumb { font-size: 0.825rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.page-breadcrumb a { color: var(--navy); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.6;
}
.footer-independence { color: rgba(255,255,255,0.6); font-style: italic; margin-top: 0.25rem; }

/* === UTILITIES === */
.badge {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.source-badge {
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.source-trustpilot { background: var(--badge-trustpilot); }
.source-tripadvisor { background: #333; color: var(--badge-tripadvisor); }
.source-reddit { background: var(--badge-reddit); }
.source-google { background: var(--badge-google); }

.stars { color: #f4a020; letter-spacing: 0.05em; }
.stars-muted { color: #ccc; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  border: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #c94e1f; }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #f0f4f8; }

.callout {
  background: #fff8f0;
  border: 1px solid #f0c080;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.925rem;
}
.callout strong { color: var(--navy); }

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
}

/* === DESKTOP === */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.25rem; }
  section { padding: 4rem 0; }

  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: none;
    padding: 0;
    border: none;
  }
  .site-nav ul { flex-direction: row; gap: 0.25rem; }
  .site-nav a {
    padding: 0.4rem 0.75rem;
    border-bottom: none;
    border-radius: 4px;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
  }
  .site-nav a:hover { background: rgba(255,255,255,0.1); }
  .site-nav a.active { background: rgba(255,255,255,0.15); color: #fff; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
