/* Prime IV Sandy — shared stylesheet for SEO content pages
   Design tokens match the main landing page (index.html)
   Gold #C9A84C · Teal #2EC4B6 · Navy #0F1A2E */

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

:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-glow: rgba(201,168,76,.3);
  --bg: #FFFFFF;
  --bg2: #F7F5EF;
  --bg3: #F0EDE4;
  --fg: #0F1A2E;
  --fg90: rgba(15,26,46,.9);
  --fg70: rgba(15,26,46,.7);
  --fg50: rgba(15,26,46,.5);
  --fg20: rgba(15,26,46,.2);
  --fg10: rgba(15,26,46,.1);
  --border: rgba(15,26,46,.08);
  --teal: #2EC4B6;
  --teal-dark: #1DA89B;
  --teal-glow: rgba(46,196,182,.3);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--fg);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; margin: 2.5rem 0 1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; font-weight: 700; margin: 1.75rem 0 .75rem; }
h4 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 .5rem; }

p { margin-bottom: 1rem; color: var(--fg90); }
p + p { margin-top: .5rem; }

a { color: var(--teal-dark); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); text-decoration: underline; }

ul, ol { margin: 1rem 0 1rem 1.5rem; color: var(--fg90); }
li { margin-bottom: .5rem; }

strong { color: var(--fg); font-weight: 700; }
em { color: var(--fg90); }

hr { border: 0; height: 1px; background: var(--border); margin: 2.5rem 0; }

/* Container */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--fg); color: #fff;
  padding: 8px 16px; z-index: 100; transition: top .15s;
}
.skip-link:focus { top: 0; }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.2rem; color: var(--fg); text-decoration: none; }
.nav-brand:hover { color: var(--gold); text-decoration: none; }
.nav-brand .nav-brand-accent { color: var(--gold); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--fg70); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-cta { background: var(--gold); color: var(--fg) !important; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; }
.nav-cta:hover { background: var(--gold-light); color: var(--fg) !important; text-decoration: none; }

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* Breadcrumbs */
.breadcrumbs {
  max-width: 1120px; margin: 0 auto; padding: 16px 24px 0;
  font-size: .875rem; color: var(--fg50);
}
.breadcrumbs a { color: var(--fg70); }
.breadcrumbs span { margin: 0 8px; color: var(--fg20); }

/* Hero */
.hero {
  padding: 48px 24px 32px;
  max-width: 1120px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(46,196,182,.1); color: var(--teal-dark);
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 1rem;
}
.hero h1 { max-width: 820px; }
.hero .lede {
  font-size: 1.15rem; color: var(--fg70); max-width: 720px; margin-top: 1rem;
}
.hero-cta-row { margin-top: 1.75rem; display: flex; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: all .15s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--gold); color: var(--fg); }
.btn-primary:hover { background: var(--gold-light); color: var(--fg); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--fg); color: #fff; }
.btn-secondary:hover { background: #1a2a45; color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--fg); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--fg); color: var(--fg); text-decoration: none; }

/* Content blocks */
.content {
  max-width: 780px; margin: 0 auto; padding: 32px 24px 64px;
}
.content p { font-size: 1.05rem; }
.content h2:first-of-type { margin-top: 1rem; }

/* Article content */
.article-body { font-size: 1.05rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { margin-bottom: .5rem; font-size: 1.05rem; color: var(--fg90); }

/* Callout box */
.callout {
  background: var(--bg2); border-left: 4px solid var(--gold);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.callout strong { display: block; margin-bottom: .5rem; color: var(--fg); }
.callout.teal { border-left-color: var(--teal); background: rgba(46,196,182,.06); }

/* Cards grid */
.grid {
  display: grid; gap: 20px; margin: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; transition: all .2s; text-decoration: none; color: var(--fg);
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-lg);
  border-color: var(--gold); text-decoration: none; color: var(--fg);
}
.card h3 { margin-top: 0; color: var(--fg); }
.card p { color: var(--fg70); font-size: .95rem; flex: 1; }
.card .card-link {
  margin-top: 12px; font-weight: 600; color: var(--teal-dark); font-size: .9rem;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--gold); font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--fg70); }

/* Stats row */
.stats {
  display: grid; gap: 16px; margin: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); font-family: 'Playfair Display', serif; }
.stat-label { color: var(--fg70); font-size: .9rem; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--fg), #1a2a45);
  color: #fff; border-radius: var(--radius-xl);
  padding: 48px 32px; text-align: center;
  margin: 3rem 0;
}
.cta-section h2 { color: #fff; margin-top: 0; }
.cta-section p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 1.5rem; }
.cta-section .btn-primary { background: var(--gold); }
.cta-section .phone { color: var(--gold-light); font-weight: 700; font-size: 1.1rem; margin-top: 1rem; display: block; }
.cta-section .phone:hover { color: var(--gold); }

/* Related pages */
.related {
  background: var(--bg2); padding: 32px 24px;
  border-radius: var(--radius-lg); margin: 3rem 0 2rem;
}
.related h3 { margin-top: 0; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.related li { margin: 0; }
.related a { color: var(--fg); font-weight: 500; font-size: .95rem; padding: 8px 0; display: inline-block; }
.related a:hover { color: var(--gold); text-decoration: none; }

/* Footer */
.footer {
  background: var(--fg); color: rgba(255,255,255,.7);
  padding: 48px 24px 24px; margin-top: 4rem;
}
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 32px; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.footer h4 { color: #fff; margin: 0 0 16px; font-size: 1rem; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.footer a { color: rgba(255,255,255,.7); display: block; padding: 4px 0; font-size: .9rem; }
.footer a:hover { color: var(--gold); text-decoration: none; }
.footer-brand .brand-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #fff; font-weight: 800; display: block; margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.6; }
.footer-bottom {
  max-width: 1120px; margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.5);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .nap { color: rgba(255,255,255,.8); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Utility */
.text-gold { color: var(--gold); }
.text-teal { color: var(--teal-dark); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 600px) {
  .hero { padding: 32px 20px 16px; }
  .content { padding: 24px 20px 48px; }
  .cta-section { padding: 32px 20px; }
}
