/* =============================================
   SHARED CSS — SimpleFastSEO
   All pages import this file
   ============================================= */

:root {
  --color-hero-bg:       #0a5228;   /* British Racing Green */
  --color-hero-bg-light: #0e6632;
  --color-primary:       #1a35a0;   /* Royal Blue */
  --color-primary-hover: #122880;
  --color-cta:           #0a5228;   /* Racing green CTA */
  --color-cta-hover:     #074019;
  --color-pastel-bg:     #f0f7f1;   /* Very light green tint */
  --color-pastel-mid:    #a8d4b0;   /* Light green for nav accents */
  --color-accent-border: #8bc49a;
  --color-text-dark:     #1a2334;
  --color-text-mid:      #4a6275;
  --color-white:         #ffffff;
  --color-section-alt:   #f5f9f5;
  --shadow-card:         0 2px 12px rgba(10,82,40,0.07), 0 1px 3px rgba(10,82,40,0.04);
  --shadow-card-lg:      0 6px 28px rgba(10,82,40,0.10), 0 2px 8px rgba(10,82,40,0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Lexend Deca', Helvetica, Arial, sans-serif;
  color: var(--color-text-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* NAV */
.nav { background: var(--color-hero-bg); padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.1rem; font-weight: 700; color: var(--color-white); letter-spacing: -0.02em; }
.nav-logo span { color: var(--color-pastel-mid); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--color-white); }
.nav-links a.active { color: var(--color-white); font-weight: 600; }
.nav-cta { background: rgba(255,255,255,0.15) !important; color: var(--color-white) !important; padding: 7px 16px; border-radius: 6px; font-weight: 600 !important; border: 1px solid rgba(255,255,255,0.25) !important; transition: background 0.2s !important; }
.nav-cta:hover { background: rgba(255,255,255,0.25) !important; }

/* PAGE HERO (interior pages) */
.page-hero { background: linear-gradient(160deg, var(--color-hero-bg) 0%, var(--color-hero-bg-light) 100%); padding: 64px 24px 72px; text-align: center; }
.page-hero-eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-pastel-mid); margin-bottom: 16px; }
.page-hero-headline { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; color: var(--color-white); line-height: 1.1; max-width: 760px; margin: 0 auto 16px; letter-spacing: -0.04em; }
.page-hero-sub { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 560px; margin: 0 auto; }

/* SECTION LABELS */
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-primary); margin-bottom: 12px; }
.section-headline { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--color-text-dark); line-height: 1.2; max-width: 640px; margin: 0 auto 16px; letter-spacing: -0.03em; }
.section-sub { font-size: 1rem; font-weight: 300; color: var(--color-text-mid); max-width: 540px; margin: 0 auto 48px; line-height: 1.75; }

/* CONTENT SECTIONS */
.section { padding: 80px 24px; }
.section-alt { background: var(--color-pastel-bg); }
.section-dark { background: var(--color-section-alt); }
.section-inner { max-width: 800px; margin: 0 auto; }
.section-inner-wide { max-width: 1100px; margin: 0 auto; }

/* PROSE */
.prose { font-size: 1rem; font-weight: 300; color: var(--color-text-mid); line-height: 1.85; }
.prose p { margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--color-text-dark); }
.prose h2 { font-size: 1.4rem; font-weight: 700; color: var(--color-text-dark); margin: 40px 0 12px; letter-spacing: -0.01em; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-text-dark); margin: 28px 0 8px; }

/* PROSE CARD */
.prose-card {
  background: var(--color-white);
  border: 1px solid #d0e4d8;
  border-radius: 14px;
  padding: 40px 48px;
  box-shadow: var(--shadow-card-lg);
}

/* BUTTONS */
.btn-primary { display: inline-block; padding: 14px 28px; background: var(--color-cta); color: var(--color-white); font-family: inherit; font-size: 0.925rem; font-weight: 700; border: none; border-radius: 6px; cursor: pointer; white-space: nowrap; transition: background 0.2s; text-align: center; letter-spacing: 0.01em; }
.btn-primary:hover { background: var(--color-cta-hover); color: var(--color-white); }
.btn-outline { display: inline-block; padding: 13px 28px; background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); font-family: inherit; font-size: 0.925rem; font-weight: 600; border-radius: 6px; cursor: pointer; white-space: nowrap; transition: all 0.2s; text-align: center; }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.btn-ghost { display: inline-block; padding: 13px 28px; background: transparent; border: 2px solid rgba(255,255,255,0.4); color: var(--color-white); font-family: inherit; font-size: 0.925rem; font-weight: 600; border-radius: 6px; cursor: pointer; white-space: nowrap; transition: all 0.2s; text-align: center; }
.btn-ghost:hover { border-color: var(--color-white); background: rgba(255,255,255,0.12); }

/* CTA BAND */
.cta-band { background: linear-gradient(135deg, var(--color-hero-bg) 0%, var(--color-hero-bg-light) 100%); padding: 72px 24px; text-align: center; }
.cta-band-headline { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--color-white); margin-bottom: 12px; letter-spacing: -0.03em; }
.cta-band-sub { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.75); margin-bottom: 32px; line-height: 1.6; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* THREE CTA BLOCK */
.three-ctas { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 860px; margin: 0 auto; }
.cta-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 28px 24px; text-align: center; }
.cta-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.cta-card-title { font-size: 1rem; font-weight: 700; color: var(--color-white); margin-bottom: 8px; }
.cta-card-body { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 20px; }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--color-white); border: 1px solid #d0e4d8; border-radius: 12px; padding: 32px 24px; box-shadow: var(--shadow-card); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: var(--shadow-card-lg); transform: translateY(-2px); }
.card-icon { width: 44px; height: 44px; background: var(--color-pastel-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.3rem; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--color-primary); margin-bottom: 10px; }
.card-body { font-size: 0.875rem; font-weight: 300; color: var(--color-text-mid); line-height: 1.75; margin-bottom: 12px; }

/* FOOTER */
.footer { background: #071a0e; padding: 40px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.footer-brand { font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; }
.footer-links a { font-size: 0.825rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }

/* FAQ */
.faq-list { margin-top: 48px; }
.faq-item { border-top: 1px solid #c8ddd0; }
.faq-item:last-child { border-bottom: 1px solid #c8ddd0; }
.faq-question { width: 100%; background: none; border: none; text-align: left; font-family: inherit; font-size: 0.975rem; font-weight: 600; color: var(--color-text-dark); padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-chevron { flex-shrink: 0; width: 18px; height: 18px; border-right: 2px solid var(--color-primary); border-bottom: 2px solid var(--color-primary); transform: rotate(45deg); transition: transform 0.25s; margin-bottom: 4px; }
.faq-item.open .faq-chevron { transform: rotate(-135deg); margin-bottom: -4px; }
.faq-answer { font-size: 0.9rem; font-weight: 300; color: var(--color-text-mid); line-height: 1.75; padding-bottom: 20px; display: none; }
.faq-item.open .faq-answer { display: block; }

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .page-hero-headline { font-size: 1.9rem; }
  .section-headline { font-size: 1.6rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-hero-bg);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links a { display: block; padding: 12px 0; font-size: 0.95rem; }
  .nav-links a.nav-cta { margin: 12px 0 4px; background: rgba(255,255,255,0.15); padding: 10px 16px; border-radius: 6px; text-align: center; }
  .nav-open .nav-links { display: flex; }
  .three-ctas { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .prose-card { padding: 28px 24px; }
}
