/*
Theme Name: RouteIgnite — routeignite-theme-v1
Theme URI: https://agency.routeignite.com
Author: WP-Flash | SerpZenith
Author URI: https://serpzenith.com
Description: Bespoke editorial theme for RouteIgnite — Shopify growth agency, Gurgaon & Delhi. Built with WP-Flash v4.0.
Version: 1.1.0
License: Private
Text Domain: routeignite-theme-v1
*/

/* =====================
   CSS VARIABLES — from Visual Identity (logo-derived)
   ===================== */
:root {
  --color-primary: #F80040;
  --color-primary-dark: #C70034;
  --color-secondary: #0A0A0F;
  --color-accent: #F80040;
  --color-bg: #FFFFFF;
  --color-surface: #F8F8F8;
  --color-border: #E8E8EC;
  --color-text: #0A0A0F;
  --color-text-muted: #5C5C66;
  --color-success: #10B981;
  --color-dark: #0A0A0F;
  --color-dark-surface: #141419;
  --on-dark: #F8F8F8;
  --primary-rgb: 248, 0, 64;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(10,10,15,0.06);
  --shadow-md: 0 4px 16px rgba(10,10,15,0.10);
  --shadow-lg: 0 8px 32px rgba(10,10,15,0.14);

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-2xl: 120px;

  --container: 1200px;
  --container-sm: 760px;
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-dark); color: #fff; padding: 10px 18px; z-index: 1000;
}
.skip-link:focus { left: 0; color: #fff; }

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(22px, 3vw, 30px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }
.text-red { color: var(--color-primary); }

/* =====================
   CONTAINER
   ===================== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600; font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-text); border-color: var(--color-text); }
.btn-secondary:hover { background: var(--color-text); color: #fff; }
.btn-white { background: #fff; color: var(--color-text); border-color: #fff; }
.btn-white:hover { background: rgba(255,255,255,0.88); color: var(--color-text); }
.btn-lg { padding: 18px 36px; font-size: 18px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* =====================
   CARDS
   ===================== */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(var(--primary-rgb), 0.35); }
.card-title { font-size: 20px; font-weight: 700; margin-bottom: var(--spacing-xs); font-family: var(--font-heading); }
.card-icon {
  width: 56px; height: 56px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--color-primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 24px; font-weight: 800; font-family: var(--font-heading);
}

/* =====================
   SECTIONS
   ===================== */
.section { padding: var(--spacing-xl) 0; }
.section-lg { padding: var(--spacing-2xl) 0; }
.section-dark { background: var(--color-dark); color: var(--on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(248,248,248,0.75); }
.section-surface { background: var(--color-surface); }
.section-label {
  display: inline-block;
  font-family: 'Courier New', monospace;
  color: var(--color-primary);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}
.section-title { margin-bottom: var(--spacing-sm); }
.section-subtitle { color: var(--color-text-muted); font-size: 18px; max-width: 640px; }
.section-dark .section-subtitle { color: rgba(248,248,248,0.65); }
.section-header { margin-bottom: var(--spacing-lg); }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* =====================
   HEADER / NAV
   ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 24px;
  max-width: var(--container); margin: 0 auto;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 15px; font-weight: 500;
  color: var(--color-text); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-primary); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 24px; line-height: 1; color: var(--color-text); }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 20px 24px; gap: 16px; box-shadow: var(--shadow-md);
  }
  .hamburger { display: block; }
  .header-cta .btn { padding: 10px 18px; font-size: 14px; }
}

/* =====================
   PAGE HERO (inner pages)
   ===================== */
.page-hero { background: var(--color-dark); color: var(--on-dark); padding: 90px 0 70px; }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero .lead { font-size: 19px; color: rgba(248,248,248,0.75); max-width: 680px; }
.page-hero .breadcrumb, .page-hero .breadcrumb span { color: rgba(248,248,248,0.5); }
.page-hero .breadcrumb a { color: rgba(248,248,248,0.8); }
.page-hero .btn-primary { margin-top: 24px; }

/* =====================
   HOME HERO (editorial)
   ===================== */
.hero-editorial {
  background: var(--color-dark);
  color: #fff;
  padding: clamp(90px, 12vw, 150px) 0;
  position: relative;
  overflow: hidden;
}
.hero-editorial::after {
  content: '';
  position: absolute; right: -180px; top: -180px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero-kicker {
  font-family: 'Courier New', monospace;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 24px; display: inline-block;
}
.hero-title-xl {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 28px; max-width: 900px;
}
.hero-title-xl .outline { -webkit-text-stroke: 2px #fff; color: transparent; }
.hero-title-xl .red { color: var(--color-primary); }
.hero-sub { font-size: 19px; color: rgba(248,248,248,0.7); max-width: 620px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(248,248,248,0.7); }
.trust-item .icon { color: var(--color-primary); }

/* =====================
   HERO SPLIT LAYOUT + VISUAL
   ===================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative; z-index: 1;
}
.hero-visual { position: relative; }
.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  width: 100%; height: auto;
}
.hero-visual::before {
  content: '';
  position: absolute; inset: -18px -18px auto auto;
  width: 120px; height: 120px;
  border-top: 3px solid var(--color-primary);
  border-right: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-lg) 0 0;
  pointer-events: none;
}
.hero-visual-badge {
  position: absolute; left: -20px; bottom: -24px;
  background: var(--color-primary); color: #fff;
  border-radius: var(--radius-lg);
  padding: 18px 22px; max-width: 240px;
  box-shadow: 0 16px 40px rgba(248,0,64,0.35);
  display: flex; flex-direction: column; gap: 2px;
}
.hvb-number { font-family: var(--font-heading); font-size: 34px; font-weight: 800; line-height: 1; }
.hvb-label { font-size: 12.5px; line-height: 1.4; opacity: 0.92; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .hero-visual-badge { left: 12px; bottom: -18px; }
}

/* =====================
   EDITORIAL IMAGE BAND
   ===================== */
.image-band { position: relative; overflow: hidden; max-height: 460px; }
.image-band > img { width: 100%; height: 460px; object-fit: cover; display: block; }
.image-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.25) 0%, rgba(10,10,15,0.82) 100%);
  display: flex; align-items: flex-end; padding-bottom: 48px;
}
.image-band-line {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800; color: #fff; line-height: 1.1;
  letter-spacing: -0.02em; margin: 0; max-width: 640px;
}
.image-band-line span { color: var(--color-primary); }

/* =====================
   MANIFESTO MEDIA GRID
   ===================== */
.manifesto-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.manifesto-grid .manifesto-list { margin: 0; max-width: none; }
.manifesto-media {
  display: grid; gap: 20px;
  position: sticky; top: 96px;
}
.manifesto-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; height: auto;
}
.manifesto-media img:last-child { margin-left: 28px; width: calc(100% - 28px); }
@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-media { position: static; grid-template-columns: 1fr 1fr; max-width: 560px; }
  .manifesto-media img:last-child { margin-left: 0; width: 100%; }
}

/* =====================
   SERVICES GRID
   ===================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card .card-num {
  font-family: var(--font-heading);
  font-size: 52px; font-weight: 800; line-height: 1;
  color: rgba(var(--primary-rgb), 0.12);
  margin-bottom: 12px; letter-spacing: -0.04em;
}
.service-card a.card-link { font-weight: 600; color: var(--color-primary-dark); font-size: 15px; }
.service-card a.card-link:hover { color: var(--color-primary); }

/* =====================
   STATS BAR
   ===================== */
.stats-bar { background: var(--color-primary); color: white; padding: 48px 0; }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.stat-number { font-family: var(--font-heading); font-size: 44px; font-weight: 800; line-height: 1; }
.stat-label { font-size: 14px; opacity: 0.9; margin-top: 6px; }
@media (max-width: 600px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* =====================
   PROCESS STEPS
   ===================== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step-card { padding: 32px 28px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); position: relative; }
.step-num {
  font-family: var(--font-heading);
  font-size: 64px; font-weight: 800; line-height: 1;
  color: rgba(var(--primary-rgb), 0.10);
  margin-bottom: -8px; letter-spacing: -0.04em;
}
.step-card h3 { font-size: 20px; margin-bottom: 8px; }
.step-card p { color: var(--color-text-muted); font-size: 15px; margin: 0; }

/* =====================
   BENEFITS / WHY GRID
   ===================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* =====================
   LOCATIONS GRID
   ===================== */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.location-link {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  color: var(--color-text); transition: all 0.2s; text-decoration: none;
}
.location-link:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(var(--primary-rgb), 0.04); }

/* =====================
   TESTIMONIALS
   ===================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 32px;
}
.testimonial-stars { color: var(--color-primary); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { font-style: italic; line-height: 1.65; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; background: var(--color-dark); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0; font-family: var(--font-heading);
}
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-location { font-size: 13px; color: var(--color-text-muted); }

/* =====================
   CTA SECTION
   ===================== */
.cta-section { background: var(--color-dark); color: #fff; text-align: center; padding: var(--spacing-2xl) 0; position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute; left: 50%; bottom: -260px; transform: translateX(-50%);
  width: 640px; height: 520px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 { color: #fff; font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 16px; }
.cta-section p { color: rgba(248,248,248,0.7); font-size: 18px; max-width: 560px; margin: 0 auto var(--spacing-md); }
.cta-section .btn { position: relative; z-index: 1; }

/* =====================
   FAQ (details-based, no JS)
   ===================== */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-weight: 600; font-size: 17px;
  font-family: var(--font-heading);
  cursor: pointer; list-style: none; gap: 16px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron { font-size: 22px; color: var(--color-primary); flex-shrink: 0; transition: transform 0.2s ease; font-weight: 400; }
details[open] .faq-chevron { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--color-text-muted); line-height: 1.7; }
.faq-answer p { margin: 0 0 10px; }

/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-text-muted); margin-bottom: var(--spacing-sm); flex-wrap: wrap; }
.breadcrumb a { color: var(--color-primary-dark); }
.breadcrumb span { color: var(--color-text-muted); }

/* =====================
   CONTENT (generated pages)
   ===================== */
.entry-content { max-width: var(--container-sm); margin: 0 auto; padding: var(--spacing-xl) 24px; }
.entry-content h2 { margin: 1.6em 0 0.6em; }
.entry-content h3 { margin: 1.4em 0 0.5em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.4em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content img { border-radius: var(--radius-lg); margin: 1.5em 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--color-border); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--color-surface); font-family: var(--font-heading); font-weight: 600; }
.entry-content blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 8px 0 8px 20px; margin: 1.5em 0;
  color: var(--color-text-muted); font-style: italic;
}
/* wide sections inside generated content */
.entry-content .full-bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* =====================
   FOOTER
   ===================== */
.site-footer { background: var(--color-dark); color: rgba(248,248,248,0.75); padding: var(--spacing-xl) 0 var(--spacing-md); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--spacing-md);
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; opacity: 0.7; max-width: 300px; }
.footer-tagline {
  font-family: 'Courier New', monospace;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-primary); margin-top: 14px;
}
.footer-col h4 { color: white; font-size: 15px; margin-bottom: 16px; font-family: var(--font-heading); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(248,248,248,0.65); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: 0.55; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================
   404
   ===================== */
.error-404 { text-align: center; padding: var(--spacing-2xl) 24px; }
.error-404 .code {
  font-family: var(--font-heading);
  font-size: clamp(90px, 18vw, 180px); font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 3px var(--color-primary);
}
.error-404 h1 { margin: 12px 0 16px; }
.error-404 .search-form { max-width: 420px; margin: 24px auto; display: flex; gap: 8px; }
.error-404 .search-form input {
  flex: 1; padding: 13px 18px; border: 1px solid var(--color-border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 15px;
}

/* =====================
   SCHEMA (hidden)
   ===================== */
.schema-hidden { display: none !important; }
