/* ==========================================================================
   LUNAR FIFTH STUDIOS — GOLDEN STARTER CSS
   Re-skin any client website in 30 seconds by editing the :root variables!
   ========================================================================== */

:root {
  /* 1. Brand Color Palette (Change per client) */
  --primary-color: #0f2942;       /* Deep Navy Authority */
  --primary-dark: #081829;        /* Darker Navy for Footer/Hover */
  --accent-color: #f57c00;        /* Warm High-Conversion Orange CTA */
  --accent-hover: #d96b00;        /* Darker Orange on Hover */
  
  /* 2. Neutral & Surface Colors */
  --bg-color: #ffffff;
  --bg-alt: #f4f7fa;
  --text-main: #1e293b;
  --text-muted: #526071;
  --border-color: #e2e8f0;

  /* 3. Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* 4. Layout & Effects */
  --max-width: 1180px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(15, 41, 66, 0.06);
  --shadow-lg: 0 16px 36px rgba(15, 41, 66, 0.12);
  --transition: 0.22s ease-in-out;
}

/* ================= RESET & BASE ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.98rem;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

/* ================= HEADER & NAVIGATION ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary-color);
}

.logo-mark {
  color: var(--accent-color);
}

.logo-accent {
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
}

.nav-link:hover {
  color: var(--accent-color);
}

.nav-phone {
  font-weight: 700;
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle .bar {
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* ================= HERO SECTION ================= */
.hero {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4f9 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow-badge {
  display: inline-block;
  background: rgba(15, 41, 66, 0.08);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 1.2rem;
}

.hero-subheadline {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 1.85rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-trust-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-color);
}

.hero-visual-card {
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.stat-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-alt);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-color);
}

.check-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.check-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 800;
}

.card-inline-link {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 0.95rem;
}

/* ================= TRUST BAR ================= */
.trust-bar {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 2.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-metric {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
}

.trust-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ================= SERVICES GRID ================= */
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 3.25rem;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.96rem;
}

.service-link {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.service-link:hover {
  color: var(--accent-color);
}

/* ================= STORY & REVIEWS ================= */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.story-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin-bottom: 1.1rem;
}

.story-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.reviews-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.review-card p {
  font-style: italic;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.review-card footer {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ================= CONTACT & FORM ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-details p {
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.form-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

/* Invisible Honeypot for Spam Bots */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--primary-color);
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-main);
  background-color: #fcfdfe;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.15);
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.status-success {
  color: #15803d;
}

.status-error {
  color: #b91c1c;
}

.form-privacy-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ================= FOOTER ================= */
.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.compliance-text {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 820px;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
}

.studio-credit a {
  color: var(--accent-color);
  font-weight: 600;
}

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 900px) {
  .hero-grid,
  .services-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.nav-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .nav-cta {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .form-row,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}
