/* ===== GHOSTREMOVALS.COM — Premium Design System ===== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

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

:root {
  --stone-50: #faf8f5;
  --stone-100: #f5f0ea;
  --stone-200: #e8e0d6;
  --stone-300: #d4c8b8;
  --stone-400: #b8a890;
  --stone-500: #9a8a72;
  --stone-600: #7a6a55;
  --stone-700: #5c4e3d;
  --stone-800: #3e3428;
  --stone-900: #2a221a;
  --stone-950: #1a1510;

  --gold-300: #d4a853;
  --gold-400: #c99a3e;
  --gold-500: #b8882e;
  --gold-600: #9a7225;
  --gold-700: #7a5a1c;

  --cream: #faf6ee;
  --ivory: #f8f5ee;
  --charcoal: #1a1510;
  --warm-white: #fdfbf8;

  --accent: var(--gold-400);
  --accent-hover: var(--gold-500);
  --text-primary: var(--stone-900);
  --text-secondary: var(--stone-600);
  --text-light: var(--stone-400);
  --bg-primary: var(--warm-white);
  --bg-secondary: var(--cream);
  --bg-dark: var(--stone-950);
  --bg-dark-alt: var(--stone-900);
  --border: var(--stone-200);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --max-width-narrow: 900px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-padding: clamp(4rem, 8vw, 8rem);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 600; letter-spacing: 0.02em; }
h5 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.2rem; line-height: 1.8; color: var(--text-secondary); }

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 var(--gutter); }

/* --- Section --- */
.section { padding: var(--section-padding) 0; }
.section-light { background: var(--bg-primary); }
.section-cream { background: var(--bg-secondary); }
.section-dark { background: var(--bg-dark); color: var(--stone-200); }
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5 { color: var(--warm-white); }
.section-dark .lead { color: var(--stone-300); }
.section-dark p { color: var(--stone-300); }

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto clamp(3rem, 5vw, 4rem);
}

.section-header h2 { margin-bottom: 1rem; }
.section-header .lead { margin-bottom: 0; }
.section-header .label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 21, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--warm-white);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.logo:hover { color: var(--gold-400); }
.logo span { color: var(--gold-400); }

.nav-desktop { display: flex; align-items: center; gap: 0.25rem; }
.nav-desktop a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-300);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-desktop a:hover { color: var(--warm-white); background: rgba(255,255,255,0.06); }
.nav-desktop .nav-cta {
  background: var(--accent);
  color: var(--charcoal);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}
.nav-desktop .nav-cta:hover { background: var(--accent-hover); color: var(--charcoal); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--warm-white);
  transition: 0.3s;
  border-radius: 1px;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  padding: 2rem var(--gutter);
  overflow-y: auto;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--stone-200);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile a:hover { color: var(--gold-400); }
.nav-mobile .nav-cta {
  margin-top: 1.5rem;
  text-align: center;
  background: var(--accent);
  color: var(--charcoal);
  border-radius: 4px;
  padding: 1rem;
  font-weight: 600;
  border-bottom: none;
}
.nav-mobile .nav-cta:hover { color: var(--charcoal); background: var(--accent-hover); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(90, 60, 30, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(60, 45, 25, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(40, 30, 20, 0.08) 0%, transparent 50%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem var(--gutter) 4rem;
}
.hero-content { max-width: 720px; }
.hero h1 {
  color: var(--warm-white);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.hero h1 span { color: var(--gold-400); }
.hero p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--stone-300);
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--charcoal);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--charcoal); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--warm-white);
  border: 1.5px solid var(--stone-400);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); color: var(--warm-white); border-color: var(--warm-white); }
.btn-outline-dark {
  color: var(--text-primary);
  border: 1.5px solid var(--stone-300);
}
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.card-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Feature list --- */
.feature-list { display: grid; gap: 1.5rem; }
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; }
.feature-item .icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.875rem;
  margin-top: 0.2rem;
}
.feature-item h4 { margin-bottom: 0.25rem; }
.feature-item p { font-size: 0.95rem; color: var(--text-secondary); }

/* --- Process steps --- */
.process-steps { display: grid; gap: 2.5rem; counter-reset: step; }
.process-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  counter-increment: step;
}
.step-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.step-number::before { content: counter(step, decimal-leading-zero); }
.step-content h3 { margin-bottom: 0.5rem; }
.step-content p { font-size: 0.95rem; color: var(--text-secondary); }

/* --- Stats / Numbers --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 600; color: var(--gold-400); }
.stat-label { font-size: 0.9rem; color: var(--stone-400); margin-top: 0.25rem; }

/* --- Testimonial (placeholder) --- */
.testimonial {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  font-style: italic;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--stone-200);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}
.testimonial p { color: var(--text-secondary); font-size: 1.05rem; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--text-primary); }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem 0;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question .toggle { font-size: 1.5rem; color: var(--stone-400); transition: transform 0.3s; }
.faq-item.open .faq-question .toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0.75rem 0 0.5rem;
}
.faq-answer p { font-size: 0.95rem; color: var(--text-secondary); }

/* --- Form --- */
.form-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 800px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
  letter-spacing: 0.02em;
}
.form-group .note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--warm-white);
  color: var(--text-primary);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 154, 62, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-group .checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
  accent-color: var(--accent);
}
.form-group .checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1.5rem;
  text-align: center;
}
.form-disclaimer a { color: var(--text-secondary); text-decoration: underline; }

/* --- Page header --- */
.page-header {
  padding: 10rem 0 4rem;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(90, 60, 30, 0.12) 0%, transparent 60%);
}
.page-header-inner { position: relative; z-index: 2; }
.page-header h1 {
  color: var(--warm-white);
  margin-bottom: 1rem;
}
.page-header p {
  color: var(--stone-300);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: var(--stone-400);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { font-size: 1.35rem; display: inline-block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--stone-500); max-width: 300px; }
.footer-col h5 {
  color: var(--warm-white);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: var(--stone-400);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--stone-500);
}
.footer-bottom a { color: var(--stone-500); text-decoration: underline; }
.footer-bottom a:hover { color: var(--gold-400); }

/* --- 404 Page --- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--bg-dark);
}
.page-404 h1 { color: var(--warm-white); font-size: 6rem; margin-bottom: 0.5rem; }
.page-404 h2 { color: var(--warm-white); margin-bottom: 1rem; }
.page-404 p { color: var(--stone-400); margin-bottom: 2rem; }

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.gap-1 { gap: 1rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 90vh; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero p { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-header { padding: 8rem 0 3rem; }
  .section { padding: 3rem 0; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.7s ease-out; }
.animate-in.delay-1 { animation-delay: 0.1s; }
.animate-in.delay-2 { animation-delay: 0.2s; }
.animate-in.delay-3 { animation-delay: 0.3s; }

/* --- Print CTA (GhostRemoval.com lineage) --- */
.print-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.2s;
}
.print-link:hover { border-color: var(--accent); color: var(--accent); }

/* --- Dark card variant --- */
.card-dark {
  background: var(--bg-dark-alt);
  border: 1px solid rgba(255,255,255,0.08);
}
.card-dark h3 { color: var(--warm-white); }
.card-dark p { color: var(--stone-300); }