/*
Theme Name:  GharWala Interior
Theme URI:   https://gharwala.in
Description: Interior Lead Generation Platform for North India — Modular Kitchen, Wardrobes, Tiles & Flooring, Doors & Windows. Built for Elementor.
Author:      GharWala
Author URI:  https://gharwala.in
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GPL-2.0-or-later
Text Domain: gharwala
Tags: elementor, interior, lead-generation, business, one-page
*/

/* ── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --gw-primary:       #E8650A;
  --gw-primary-light: #FFF3EB;
  --gw-primary-dark:  #C5540A;
  --gw-dark:          #1A1208;
  --gw-warm:          #FAFAF7;
  --gw-sand:          #E8E0D4;
  --gw-text:          #2D2416;
  --gw-muted:         #7A6A56;
  --gw-white:         #FFFFFF;
  --gw-green:         #2D6A4F;
  --gw-green-light:   #E8F5EE;
  --gw-blue:          #1565C0;
  --gw-blue-light:    #EBF3FF;
  --gw-shadow-sm:     0 2px 12px rgba(232,101,10,0.08);
  --gw-shadow-md:     0 8px 32px rgba(232,101,10,0.12);
  --gw-shadow-lg:     0 20px 60px rgba(232,101,10,0.15);
  --gw-radius:        12px;
  --gw-radius-lg:     20px;
  --gw-transition:    all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gw-text);
  background: var(--gw-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--gw-primary); text-decoration: none; transition: var(--gw-transition); }
a:hover { color: var(--gw-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gw-dark);
  line-height: 1.15;
  font-weight: 700;
}

/* ── Utility Classes ───────────────────────────────────────────────────────── */
.gw-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.gw-section {
  padding: 96px 0;
}

.gw-section-sm { padding: 64px 0; }

.gw-text-center { text-align: center; }
.gw-text-saffron { color: var(--gw-primary); }
.gw-text-muted   { color: var(--gw-muted); }
.gw-text-white   { color: var(--gw-white); }
.gw-text-green   { color: var(--gw-green); }

.gw-bg-warm   { background: var(--gw-warm); }
.gw-bg-dark   { background: var(--gw-dark); }
.gw-bg-white  { background: var(--gw-white); }
.gw-bg-orange { background: var(--gw-primary-light); }

/* ── Section Labels ────────────────────────────────────────────────────────── */
.gw-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gw-primary);
  margin-bottom: 10px;
}

.gw-section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--gw-dark);
  margin-bottom: 14px;
  line-height: 1.12;
}

.gw-section-title em {
  font-style: italic;
  color: var(--gw-primary);
}

.gw-section-sub {
  font-size: 16px;
  color: var(--gw-muted);
  max-width: 560px;
  margin: 0 auto 52px;
  line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.gw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--gw-radius);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--gw-transition);
  border: none;
  text-decoration: none;
}

.gw-btn-primary {
  background: var(--gw-primary);
  color: white;
}
.gw-btn-primary:hover {
  background: var(--gw-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--gw-shadow-md);
}

.gw-btn-outline {
  background: transparent;
  color: var(--gw-primary);
  border: 2px solid var(--gw-primary);
}
.gw-btn-outline:hover {
  background: var(--gw-primary);
  color: white;
  transform: translateY(-2px);
}

.gw-btn-dark {
  background: var(--gw-dark);
  color: white;
}
.gw-btn-dark:hover {
  background: #2d2010;
  color: white;
  transform: translateY(-2px);
}

.gw-btn-white {
  background: white;
  color: var(--gw-primary);
}
.gw-btn-white:hover {
  background: var(--gw-primary-light);
  color: var(--gw-primary-dark);
}

/* ── Navigation ────────────────────────────────────────────────────────────── */
#masthead,
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gw-sand);
  transition: var(--gw-transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.gw-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.gw-logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--gw-dark);
  text-decoration: none;
}
.gw-logo span { color: var(--gw-primary); }

.gw-nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}

.gw-nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gw-muted);
  text-decoration: none;
  transition: var(--gw-transition);
  position: relative;
}
.gw-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--gw-primary);
  transform: scaleX(0);
  transition: var(--gw-transition);
}
.gw-nav-menu a:hover { color: var(--gw-primary); }
.gw-nav-menu a:hover::after { transform: scaleX(1); }

.gw-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile hamburger */
.gw-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.gw-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gw-dark);
  border-radius: 2px;
  transition: var(--gw-transition);
}

/* ── Hero Section ──────────────────────────────────────────────────────────── */
.gw-hero {
  background: linear-gradient(135deg, #FFFAF6 0%, #FFF3EB 50%, #FAFAF7 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.gw-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,101,10,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.gw-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.gw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gw-primary-light);
  border: 1px solid rgba(232,101,10,0.2);
  color: var(--gw-primary);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.gw-hero-badge::before { content: '●'; font-size: 8px; }

.gw-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--gw-dark);
  line-height: 1.08;
  margin-bottom: 20px;
}
.gw-hero h1 em { font-style: italic; color: var(--gw-primary); }

.gw-hero-desc {
  font-size: 17px;
  color: var(--gw-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}

.gw-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.gw-hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gw-sand);
}

.gw-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--gw-primary);
  line-height: 1;
}
.gw-stat-lbl {
  font-size: 12px;
  color: var(--gw-muted);
  margin-top: 4px;
}

/* ── Lead Form Card ────────────────────────────────────────────────────────── */
.gw-form-card {
  background: white;
  border-radius: var(--gw-radius-lg);
  padding: 36px;
  box-shadow: var(--gw-shadow-lg);
  border: 1px solid var(--gw-sand);
  position: relative;
}

.gw-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gw-primary), #F59E0B);
  border-radius: var(--gw-radius-lg) var(--gw-radius-lg) 0 0;
}

.gw-form-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gw-dark);
  margin-bottom: 6px;
}
.gw-form-card p {
  font-size: 13px;
  color: var(--gw-muted);
  margin-bottom: 24px;
}

/* WPForms overrides */
.gw-form-card .wpforms-form .wpforms-field input,
.gw-form-card .wpforms-form .wpforms-field select,
.gw-form-card .wpforms-form .wpforms-field textarea {
  border: 1.5px solid var(--gw-sand) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  background: var(--gw-warm) !important;
  color: var(--gw-text) !important;
  transition: var(--gw-transition) !important;
  width: 100% !important;
}
.gw-form-card .wpforms-form .wpforms-field input:focus,
.gw-form-card .wpforms-form .wpforms-field select:focus {
  border-color: var(--gw-primary) !important;
  background: white !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(232,101,10,0.1) !important;
}
.gw-form-card .wpforms-form label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--gw-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 6px !important;
}
.gw-form-card .wpforms-submit-container .wpforms-submit {
  background: var(--gw-primary) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 14px 24px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: var(--gw-transition) !important;
}
.gw-form-card .wpforms-submit-container .wpforms-submit:hover {
  background: var(--gw-primary-dark) !important;
  transform: translateY(-1px) !important;
}
.gw-form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gw-muted);
  margin-top: 12px;
}

/* ── Category Cards ────────────────────────────────────────────────────────── */
.gw-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gw-cat-card {
  background: white;
  border-radius: var(--gw-radius-lg);
  padding: 32px 24px;
  border: 2px solid transparent;
  transition: var(--gw-transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--gw-shadow-sm);
}

.gw-cat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gw-primary);
  transform: scaleX(0);
  transition: var(--gw-transition);
}

.gw-cat-card:hover {
  border-color: var(--gw-primary);
  transform: translateY(-6px);
  box-shadow: var(--gw-shadow-lg);
}
.gw-cat-card:hover::after { transform: scaleX(1); }

.gw-cat-icon {
  font-size: 44px;
  margin-bottom: 16px;
  display: block;
}
.gw-cat-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gw-dark);
  margin-bottom: 8px;
}
.gw-cat-card p {
  font-size: 13px;
  color: var(--gw-muted);
  line-height: 1.65;
}
.gw-cat-tag {
  display: inline-block;
  margin-top: 16px;
  background: var(--gw-primary-light);
  color: var(--gw-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ── How It Works ──────────────────────────────────────────────────────────── */
.gw-how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.gw-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gw-sand);
}
.gw-step:last-child { border: none; }

.gw-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--gw-primary-light);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  transition: color 0.2s;
}
.gw-step:hover .gw-step-num { color: var(--gw-primary); }
.gw-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gw-dark);
  margin-bottom: 6px;
}
.gw-step p {
  font-size: 14px;
  color: var(--gw-muted);
  line-height: 1.65;
}

.gw-cities-box {
  background: var(--gw-dark);
  border-radius: var(--gw-radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.gw-cities-box::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,101,10,0.15) 0%, transparent 70%);
}
.gw-cities-box h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 24px;
  position: relative;
}
.gw-cities-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}
.gw-city-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--gw-transition);
}
.gw-city-pill:hover,
.gw-city-pill.hot {
  background: var(--gw-primary);
  border-color: var(--gw-primary);
  color: white;
}

/* ── Vendor / Plans ────────────────────────────────────────────────────────── */
.gw-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gw-plan-card {
  background: white;
  border-radius: var(--gw-radius-lg);
  padding: 32px;
  border: 2px solid var(--gw-sand);
  transition: var(--gw-transition);
  position: relative;
}

.gw-plan-card:hover,
.gw-plan-card.featured {
  border-color: var(--gw-primary);
  box-shadow: var(--gw-shadow-lg);
  transform: translateY(-4px);
}

.gw-plan-badge {
  position: absolute;
  top: -13px; right: 24px;
  background: var(--gw-primary);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gw-plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--gw-dark);
  margin-bottom: 8px;
}
.gw-plan-price {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--gw-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.gw-plan-per {
  font-size: 12px;
  color: var(--gw-muted);
  margin-bottom: 20px;
}
.gw-plan-divider {
  height: 1px;
  background: var(--gw-sand);
  margin: 16px 0;
}
.gw-plan-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.gw-plan-features li {
  font-size: 14px;
  color: var(--gw-text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.gw-plan-features li::before {
  content: '✓';
  color: var(--gw-primary);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Cities Grid ───────────────────────────────────────────────────────────── */
.gw-cities-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.gw-city-card {
  background: white;
  border-radius: var(--gw-radius);
  padding: 20px 12px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--gw-transition);
  box-shadow: var(--gw-shadow-sm);
}
.gw-city-card:hover {
  border-color: var(--gw-primary);
  transform: translateY(-4px);
  box-shadow: var(--gw-shadow-md);
}
.gw-city-emoji { font-size: 28px; margin-bottom: 8px; display: block; }
.gw-city-name  { font-size: 13px; font-weight: 700; color: var(--gw-dark); font-family: inherit; }
.gw-city-leads { font-size: 11px; color: var(--gw-muted); margin-top: 3px; }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.gw-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.gw-testi-card {
  background: white;
  border-radius: var(--gw-radius-lg);
  padding: 28px;
  border-left: 4px solid var(--gw-primary);
  box-shadow: var(--gw-shadow-sm);
  transition: var(--gw-transition);
}
.gw-testi-card:hover {
  box-shadow: var(--gw-shadow-md);
  transform: translateY(-3px);
}
.gw-testi-stars { color: #F59E0B; font-size: 14px; margin-bottom: 12px; }
.gw-testi-text {
  font-size: 14px;
  color: var(--gw-text);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.gw-testi-author { display: flex; align-items: center; gap: 12px; }
.gw-testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gw-primary);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 16px;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
}
.gw-testi-name { font-size: 14px; font-weight: 700; color: var(--gw-dark); }
.gw-testi-biz  { font-size: 12px; color: var(--gw-muted); }

/* ── FAQ ───────────────────────────────────────────────────────────────────── */
.gw-faq-wrap { max-width: 760px; margin: 0 auto; }
.gw-faq-item {
  border-bottom: 1px solid var(--gw-sand);
  overflow: hidden;
}
.gw-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--gw-dark);
  font-family: inherit;
  transition: color 0.2s;
}
.gw-faq-q:hover { color: var(--gw-primary); }
.gw-faq-icon {
  font-size: 20px;
  color: var(--gw-primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.gw-faq-item.open .gw-faq-icon { transform: rotate(45deg); }
.gw-faq-a {
  font-size: 14px;
  color: var(--gw-muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.gw-faq-item.open .gw-faq-a { max-height: 200px; padding-bottom: 18px; }

/* ── CTA Banner ────────────────────────────────────────────────────────────── */
.gw-cta-banner {
  background: linear-gradient(135deg, var(--gw-primary) 0%, #F59E0B 100%);
  border-radius: var(--gw-radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gw-cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.gw-cta-banner h2 {
  color: white;
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 12px;
}
.gw-cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */
.gw-footer {
  background: var(--gw-dark);
  padding: 72px 0 28px;
}
.gw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.gw-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: white;
  margin-bottom: 14px;
  display: block;
}
.gw-footer-logo span { color: var(--gw-primary); }
.gw-footer-desc {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.gw-footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  font-family: inherit;
  letter-spacing: 0.04em;
}
.gw-footer-col ul { list-style: none; padding: 0; margin: 0; }
.gw-footer-col ul li { margin-bottom: 10px; }
.gw-footer-col ul li a {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.gw-footer-col ul li a:hover { color: var(--gw-primary); }
.gw-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ── Vendor Page ───────────────────────────────────────────────────────────── */
.gw-vendor-section {
  background: linear-gradient(135deg, #FFF8F3 0%, #FFFAF6 100%);
}

.gw-vendor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.gw-benefit-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.gw-benefit-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--gw-text);
  line-height: 1.6;
}
.gw-benefit-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gw-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

/* ── Vendor Registration Form ──────────────────────────────────────────────── */
.gw-vendor-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.gw-step-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.gw-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.gw-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gw-sand);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gw-muted);
  transition: var(--gw-transition);
}
.gw-dot.active { background: var(--gw-primary); border-color: var(--gw-primary); color: white; }
.gw-dot.done   { background: var(--gw-green); border-color: var(--gw-green); color: white; }
.gw-step-line  { width: 60px; height: 2px; background: var(--gw-sand); margin-bottom: 24px; }
.gw-step-line.done { background: var(--gw-green); }
.gw-step-lbl   { font-size: 11px; color: var(--gw-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.gw-step-lbl.active { color: var(--gw-primary); }

/* ── Admin ─────────────────────────────────────────────────────────────────── */
.gw-admin-wrap {
  display: flex;
  min-height: 100vh;
}
.gw-sidebar {
  width: 240px;
  background: var(--gw-dark);
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 50;
}
.gw-sidebar-logo {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: white;
}
.gw-sidebar-logo span { color: var(--gw-primary); }
.gw-sidebar-nav { flex: 1; padding: 16px 0; }
.gw-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--gw-transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.gw-nav-item:hover { color: white; background: rgba(255,255,255,0.05); }
.gw-nav-item.active { color: white; background: rgba(232,101,10,0.15); border-left-color: var(--gw-primary); }
.gw-admin-main { margin-left: 240px; flex: 1; background: #F5F0EB; min-height: 100vh; }
.gw-admin-topbar {
  background: white;
  padding: 16px 32px;
  border-bottom: 1px solid var(--gw-sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 40;
}
.gw-admin-content { padding: 28px 32px; }

/* ── KPI Cards ─────────────────────────────────────────────────────────────── */
.gw-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.gw-kpi-card {
  background: white;
  border-radius: var(--gw-radius);
  padding: 22px 24px;
  border-left: 4px solid var(--gw-primary);
  box-shadow: var(--gw-shadow-sm);
}
.gw-kpi-card.green { border-left-color: var(--gw-green); }
.gw-kpi-card.blue  { border-left-color: var(--gw-blue); }
.gw-kpi-card.red   { border-left-color: #C0392B; }
.gw-kpi-label { font-size: 11px; font-weight: 700; color: var(--gw-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.gw-kpi-value { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--gw-dark); }
.gw-kpi-change { font-size: 12px; color: var(--gw-green); margin-top: 4px; }
.gw-kpi-change.down { color: #C0392B; }

/* ── Tables ────────────────────────────────────────────────────────────────── */
.gw-table-card { background: white; border-radius: var(--gw-radius); overflow: hidden; box-shadow: var(--gw-shadow-sm); }
.gw-table-header { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--gw-warm); }
.gw-table-title  { font-size: 15px; font-weight: 700; color: var(--gw-dark); font-family: inherit; }
.gw-table { width: 100%; border-collapse: collapse; }
.gw-table th { padding: 10px 16px; font-size: 11px; font-weight: 700; color: var(--gw-muted); text-transform: uppercase; letter-spacing: 0.06em; background: var(--gw-warm); text-align: left; }
.gw-table td { padding: 13px 16px; font-size: 13px; border-bottom: 1px solid #F5F0EA; color: var(--gw-text); vertical-align: middle; }
.gw-table tr:last-child td { border: none; }
.gw-table tr:hover td { background: #FFFCF8; }

.gw-badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.gw-badge-new       { background: #FFF3E0; color: #E65100; }
.gw-badge-contacted { background: #E3F2FD; color: #1565C0; }
.gw-badge-converted { background: var(--gw-green-light); color: var(--gw-green); }
.gw-badge-active    { background: var(--gw-green-light); color: var(--gw-green); }
.gw-badge-pending   { background: #FFF3E0; color: #E65100; }
.gw-badge-lost      { background: #FDEAEA; color: #C0392B; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gw-cat-grid    { grid-template-columns: repeat(2, 1fr); }
  .gw-cities-grid { grid-template-columns: repeat(3, 1fr); }
  .gw-kpi-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .gw-nav-menu, .gw-nav-actions { display: none; }
  .gw-hamburger { display: flex; }
  .gw-hero-grid    { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
  .gw-how-grid     { grid-template-columns: 1fr; gap: 40px; }
  .gw-vendor-grid  { grid-template-columns: 1fr; gap: 40px; }
  .gw-plans-grid   { grid-template-columns: 1fr; }
  .gw-testi-grid   { grid-template-columns: 1fr; }
  .gw-footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .gw-hero { padding: 110px 0 60px; }
  .gw-section { padding: 64px 0; }
  .gw-admin-main { margin-left: 0; }
  .gw-sidebar { display: none; }
}

@media (max-width: 480px) {
  .gw-cat-grid    { grid-template-columns: 1fr; }
  .gw-cities-grid { grid-template-columns: repeat(2, 1fr); }
  .gw-hero-stats  { gap: 20px; }
  .gw-hero-actions { flex-direction: column; }
  .gw-cta-banner  { padding: 36px 24px; }
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   BUG FIXES & ENHANCEMENTS — Applied from Security/UX Audit July 2026
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── FIX #17: Improved Color Contrast (WCAG AA Compliant) ─────────────────── */
:root {
  --gw-muted: #5A4A36;       /* Darkened from #7A6A56 for better contrast */
  --gw-muted-light: #9A8A76; /* Use only for large text / decorative */
}

/* ── FIX #16: Button Type Safety ──────────────────────────────────────────── */
button:not([type]) { cursor: pointer; }

/* ── FIX #18: Loading State for Submit Button ─────────────────────────────── */
.gw-btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}
.gw-btn-loading::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: gw-spin 0.7s linear infinite;
}
@keyframes gw-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* ── FIX #15: Mobile Navigation Hamburger ─────────────────────────────────── */
.gw-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  border-radius: 8px;
  transition: background 0.2s;
}
.gw-hamburger:hover { background: var(--gw-primary-light); }
.gw-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gw-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.gw-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gw-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.gw-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Drawer */
.gw-mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--gw-sand);
  padding: 20px 24px 28px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  animation: slideDown 0.25s ease;
}
.gw-mobile-nav.open { display: block; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gw-mobile-nav ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.gw-mobile-nav ul li a {
  display: block;
  padding: 12px 16px;
  color: var(--gw-text);
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.gw-mobile-nav ul li a:hover {
  background: var(--gw-primary-light);
  color: var(--gw-primary);
}

/* ── FIX #24: Accessibility — Focus States ─────────────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--gw-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gw-primary);
  outline-offset: 2px;
}

/* Keyboard-accessible interactive elements */
[role="button"],
.gw-cat-card,
.gw-chip,
.gw-faq-q,
.gw-checkbox-item,
.gw-plan-card {
  cursor: pointer;
}
[role="button"]:focus-visible,
.gw-chip:focus-visible,
.gw-faq-q:focus-visible {
  outline: 2px solid var(--gw-primary);
  outline-offset: 2px;
}

/* ── FIX #14: Category Required Visual Indicator ──────────────────────────── */
.gw-category-required {
  border: 1.5px solid var(--red, #C0392B) !important;
  border-radius: 10px;
  padding: 8px;
  animation: shake 0.3s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.gw-field-error {
  font-size: 12px;
  color: #C0392B;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.gw-field-error::before { content: '⚠'; }

/* ── FIX #10: Phone Input Validation States ───────────────────────────────── */
.gw-input-valid {
  border-color: var(--gw-green) !important;
  background: var(--gw-green-light) !important;
}
.gw-input-invalid {
  border-color: #C0392B !important;
  background: #FDEAEA !important;
}
.gw-input-valid::after  { content: '✓'; color: var(--gw-green); }

/* ── FIX #19: Multi-step Form Progress Save Indicator ────────────────────── */
.gw-autosave-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--gw-green);
  background: var(--gw-green-light);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  transition: opacity 0.3s;
}
.gw-autosave-badge.saving { color: var(--gw-muted); background: var(--gw-warm); }

/* ── FIX #2: Login Rate Limit UI ──────────────────────────────────────────── */
.gw-login-locked {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: #C0392B;
  text-align: center;
  line-height: 1.6;
}
.gw-attempt-counter {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 10px;
}

/* ── FIX: Toast Notification System ──────────────────────────────────────── */
.gw-toast-wrap {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.gw-toast {
  background: white;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  pointer-events: all;
  animation: toastIn 0.3s ease;
  border-left: 4px solid var(--gw-primary);
}
.gw-toast.success { border-left-color: var(--gw-green); }
.gw-toast.error   { border-left-color: #C0392B; }
.gw-toast.info    { border-left-color: var(--gw-blue); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Privacy Banner (PDPA / IT Act Compliance) ───────────────────────────── */
.gw-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gw-dark);
  color: rgba(255,255,255,0.85);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9000;
  font-size: 13px;
  line-height: 1.6;
  flex-wrap: wrap;
}
.gw-cookie-banner a { color: var(--gw-primary); }
.gw-cookie-accept {
  background: var(--gw-primary);
  color: white;
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  flex-shrink: 0;
  transition: background 0.2s;
}
.gw-cookie-accept:hover { background: var(--gw-primary-dark); }

/* ── Skeleton Loading States ──────────────────────────────────────────────── */
.gw-skeleton {
  background: linear-gradient(90deg, var(--gw-warm) 25%, var(--gw-sand) 50%, var(--gw-warm) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  min-height: 16px;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.gw-skeleton-card {
  background: white;
  border-radius: var(--gw-radius-lg);
  padding: 28px;
  box-shadow: var(--gw-shadow-sm);
}
.gw-skeleton-title  { height: 20px; width: 60%; margin-bottom: 12px; }
.gw-skeleton-line   { height: 12px; width: 90%; margin-bottom: 8px; }
.gw-skeleton-line.short { width: 50%; }

/* ── Form Validation — Success Checkmark ─────────────────────────────────── */
.gw-input-wrap { position: relative; }
.gw-input-wrap .gw-check-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  display: none;
}
.gw-input-wrap.valid   .gw-check-icon.ok  { display: block; color: var(--gw-green); }
.gw-input-wrap.invalid .gw-check-icon.err { display: block; color: #C0392B; }

/* ── Lead Form — Category Chip Improvements ──────────────────────────────── */
.gw-chip {
  padding: 9px 16px;
  border: 1.5px solid var(--gw-sand);
  border-radius: 10px;
  background: var(--gw-warm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gw-text);
}
.gw-chip:hover {
  border-color: var(--gw-primary);
  background: var(--gw-primary-light);
  color: var(--gw-primary);
}
.gw-chip.active {
  background: var(--gw-primary-light);
  border-color: var(--gw-primary);
  color: var(--gw-primary);
  font-weight: 700;
}
.gw-chip.active::before {
  content: '✓';
  font-weight: 800;
  font-size: 11px;
}

/* ── WhatsApp Float Button ────────────────────────────────────────────────── */
.gw-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  cursor: pointer;
  z-index: 500;
  transition: all 0.2s;
  text-decoration: none;
  animation: pulse-wa 2s infinite;
}
.gw-wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 32px rgba(37,211,102,0.7); }
}
.gw-wa-float-label {
  position: absolute;
  right: 68px;
  background: var(--gw-dark);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.gw-wa-float:hover .gw-wa-float-label { opacity: 1; }

/* ── Back to Top Button ───────────────────────────────────────────────────── */
.gw-back-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: white;
  border: 1.5px solid var(--gw-sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 499;
  transition: all 0.2s;
  box-shadow: var(--gw-shadow-sm);
  opacity: 0;
  pointer-events: none;
}
.gw-back-top.visible { opacity: 1; pointer-events: all; }
.gw-back-top:hover {
  background: var(--gw-primary);
  border-color: var(--gw-primary);
  color: white;
  transform: translateY(-2px);
}

/* ── Responsive Fixes ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .gw-hamburger { display: flex; }
  .gw-nav-menu  { display: none !important; }
  .gw-nav-actions .gw-btn { display: none; }
  .gw-nav-actions .gw-btn:last-child { display: flex; } /* Keep only last button */

  /* Stack hero stats on mobile */
  .gw-hero-stats {
    gap: 16px;
    flex-wrap: wrap;
  }
  .gw-hero-stats > div {
    min-width: calc(33% - 12px);
  }

  /* Full width buttons on mobile */
  .gw-hero-actions {
    flex-direction: column;
  }
  .gw-hero-actions .gw-btn {
    width: 100%;
    justify-content: center;
  }

  /* Admin sidebar hidden on mobile */
  .gw-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .gw-sidebar.open { transform: translateX(0); }
  .gw-admin-main { margin-left: 0; }

  /* Move WA float button above mobile nav bar */
  .gw-wa-float { bottom: 80px; }
  .gw-back-top { bottom: 146px; }

  /* Cookie banner stacks on mobile */
  .gw-cookie-banner { flex-direction: column; gap: 12px; }
  .gw-cookie-accept { width: 100%; }
}

@media (max-width: 480px) {
  .gw-section { padding: 48px 0; }
  .gw-form-card { padding: 24px 20px; }
  .gw-plan-card { padding: 24px 20px; }
  .gw-testi-card { padding: 20px; }
  .gw-cat-grid { grid-template-columns: 1fr; }

  /* Toast full width on small screens */
  .gw-toast-wrap { left: 12px; right: 12px; }
  .gw-toast { max-width: 100%; }
}

/* ── Print Styles ─────────────────────────────────────────────────────────── */
@media print {
  .gw-hamburger,
  .gw-wa-float,
  .gw-back-top,
  .gw-cookie-banner,
  .gw-mobile-nav,
  nav,
  footer { display: none !important; }

  body { background: white; color: black; }
  .gw-section { padding: 24px 0; }
}

/* ── Dark Mode Support (Future) ───────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  /* Uncomment to enable dark mode in future:
  :root {
    --gw-warm:  #1A1410;
    --gw-white: #1E1812;
    --gw-sand:  #3A2E22;
    --gw-text:  #F0E8DC;
    --gw-dark:  #FFF8F0;
    --gw-muted: #A89880;
  }
  */
}

/* ── End of GharWala style.css ────────────────────────────────────────────── */
