/* ══════════════════════════════════════════
   SEO ROSSENDALE — Global Styles
   ══════════════════════════════════════════ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
  --coal: #0f1117;
  --ink: #1a1d27;
  --slate: #2a2d3a;
  --muted: #8b8fa3;
  --silver: #c4c7d4;
  --cream: #f0ece4;
  --white: #fafaf8;
  --accent: #e85a2f;
  --accent-glow: #ff6b3d;
  --accent-deep: #c44a22;
  --green: #2ecc71;
  --green-soft: rgba(46,204,113,0.12);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--coal);
  color: var(--silver);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITY ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  font-family: var(--sans);
  font-weight: 700; font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--white); }
nav a.cta-nav {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s;
}
nav a.cta-nav:hover { background: var(--accent-glow); transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  position: absolute; left: 5px;
  transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 22px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  border: none; border-radius: 10px;
  font-family: var(--sans);
  font-weight: 700; font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(232,90,47,0.25);
}
.btn-primary:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,90,47,0.35);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--silver);
  border: 1px solid var(--slate);
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 600; font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-secondary:hover { border-color: var(--silver); color: var(--white); }

/* ── SECTIONS ── */
section { padding: 100px 0; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 400;
}
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 400;
}
h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ── CARDS ── */
.card {
  padding: 36px 28px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
}
.card:hover {
  border-color: rgba(232,90,47,0.2);
  background: rgba(232,90,47,0.03);
  transform: translateY(-4px);
}

/* ── FORM ── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--silver); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; color: var(--white);
  font-family: var(--sans); font-size: 0.95rem;
  transition: border-color 0.25s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--ink); color: var(--white); }
.btn-form {
  width: 100%; padding: 14px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(232,90,47,0.3);
}
.btn-form:hover { background: var(--accent-glow); }
.form-trust {
  text-align: center; font-size: 0.78rem;
  color: var(--muted); margin-top: 12px;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 500px at 30% 60%, rgba(232,90,47,0.07), transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--slate); }

/* ── CONTENT PROSE ── */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.8rem;
  margin: 48px 0 16px;
}
.prose h3 {
  font-size: 1.3rem;
  margin: 36px 0 12px;
}
.prose p {
  font-size: 1.02rem;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 20px;
}
.prose ul, .prose ol {
  margin: 0 0 20px 24px;
  color: var(--silver);
}
.prose li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.prose strong { color: var(--white); }
.prose a:not(.btn-primary):not(.btn-secondary) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.btn-primary):not(.btn-secondary):hover { color: var(--accent-glow); }
/* Buttons keep their own colours inside prose — !important guards against source-order/cache issues */
.prose a.btn-primary,
a.btn-primary { color: #fff !important; text-decoration: none !important; }
.prose a.btn-secondary,
a.btn-secondary { color: var(--silver) !important; text-decoration: none !important; }

/* ── TWO-COL LAYOUT (content + sidebar) ── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.sidebar-form {
  position: sticky; top: 90px;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 36px 28px;
}
.sidebar-form h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.sidebar-form .form-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ── AREA TAGS GRID ── */
.area-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.area-link {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 0.92rem; font-weight: 500;
  color: var(--silver);
  text-decoration: none;
  transition: all 0.25s;
}
.area-link:hover { border-color: var(--accent); color: var(--white); }
.area-link::before { content: '📍'; font-size: 0.85rem; }

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.blog-card {
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,90,47,0.2);
}
.blog-card-body { padding: 28px 24px; }
.blog-card .tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(232,90,47,0.1);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card .meta {
  font-size: 0.8rem;
  color: var(--muted);
}
.blog-card .read-more {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ── CTA BANNER ── */
.cta-banner {
  text-align: center;
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 400px at 50% 50%, rgba(232,90,47,0.08), transparent);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { max-width: 700px; margin: 0 auto 20px; }
.cta-banner .section-desc { max-width: 550px; margin: 0 auto 40px; }

/* ── FOOTER ── */
footer {
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { font-size: 1.2rem; margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; max-width: 280px; }
footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--muted); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-form { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { 
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--coal); border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 16px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .area-links { grid-template-columns: 1fr; }
}
