/* ==========================================================================
   VyaparCraft.in — Lightweight B2B Stylesheet (Zero External Dependencies)
   Palette: Deep Navy (#0F172A), Slate (#334155), Off-White (#F8FAFC), Emerald (#059669)
   ========================================================================== */

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --slate: #334155;
  --slate-muted: #64748B;
  --bg-offwhite: #F8FAFC;
  --bg-white: #FFFFFF;
  --border: #E2E8F0;
  --emerald: #059669;
  --emerald-dark: #047857;
  --emerald-soft: #ECFDF5;
  --red: #DC2626;
  --red-soft: #FEF2F2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.14);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container-max: 1180px;
  --header-height: 92px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

section[id],
div[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--emerald-dark);
}

:focus-visible {
  outline: 3px solid #10B981;
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

ul, ol {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 2000;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.text-center {
  text-align: center;
}

.text-emerald {
  color: var(--emerald);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.58rem 1.05rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.95rem 1.65rem;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--emerald);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.btn-primary:hover {
  background-color: var(--emerald-dark);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--navy);
  border-color: #CBD5E1;
}

.btn-secondary:hover {
  background-color: var(--bg-offwhite);
  border-color: var(--navy);
  color: var(--navy);
}

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

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.brand-logo:hover {
  color: var(--navy);
}

.brand-accent {
  color: var(--emerald);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

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

.nav-link {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: var(--bg-offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 3.75rem 0 4.25rem;
  background: radial-gradient(circle at 85% 15%, rgba(5, 150, 105, 0.08), transparent 45%),
              linear-gradient(180deg, #FFFFFF 0%, var(--bg-offwhite) 100%);
  border-bottom: 1px solid var(--border);
}

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

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem;
  background-color: var(--emerald-soft);
  color: var(--emerald-dark);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
}

.hero-title {
  font-size: clamp(2.05rem, 3.8vw, 3.05rem);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 1.15rem;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--slate);
  max-width: 58ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.85rem;
}

.trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* Hero Visual Preview Card */
.preview-card {
  background-color: var(--navy);
  color: #F8FAFC;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.preview-dots {
  display: flex;
  gap: 5px;
}

.preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.preview-dots span:first-child { background: #F87171; }
.preview-dots span:nth-child(2) { background: #FBBF24; }
.preview-dots span:nth-child(3) { background: #34D399; }

.preview-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: #CBD5E1;
}

.preview-status {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.metric-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.metric-label {
  font-size: 0.76rem;
  color: #94A3B8;
  font-weight: 500;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
}

.metric-delta {
  font-size: 0.76rem;
  font-weight: 600;
}

.metric-delta.positive {
  color: #34D399;
}

.metric-delta.neutral {
  color: #FBBF24;
}

.preview-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.source-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

/* ==========================================================================
   Generic Section Layout
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: var(--bg-offwhite);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-navy {
  background-color: var(--navy);
  color: #E2E8F0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
}

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

.kicker-light {
  color: #34D399;
}

.section-title {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.title-light {
  color: #FFFFFF;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate);
  margin-bottom: 0;
}

.subtitle-light {
  color: #CBD5E1;
}

/* ==========================================================================
   ROI / Time Savings Calculator
   ========================================================================== */
.calc-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.calc-label-row label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.96rem;
}

.calc-label-row output {
  font-weight: 800;
  color: var(--emerald);
  font-size: 1.05rem;
  white-space: nowrap;
}

.range-input {
  width: 100%;
  accent-color: var(--emerald);
  cursor: pointer;
  height: 6px;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--slate-muted);
  margin-top: 0.25rem;
}

.calc-results {
  background-color: var(--navy);
  color: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-result-main {
  text-align: center;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.calc-result-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  font-weight: 600;
}

.calc-result-money {
  display: block;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-weight: 800;
  color: #34D399;
  line-height: 1.15;
  margin: 0.35rem 0;
}

.calc-result-note {
  font-size: 0.8rem;
  color: #CBD5E1;
}

.calc-result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.calc-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.55rem;
  text-align: center;
}

.calc-stat-label {
  display: block;
  font-size: 0.72rem;
  color: #94A3B8;
  margin-bottom: 0.2rem;
}

.calc-stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* ==========================================================================
   Before vs After Comparison
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.compare-problem {
  background-color: #FFFBFB;
  border-color: #FECACA;
}

.compare-solution {
  background-color: #F4FBF8;
  border-color: #A7F3D0;
}

.compare-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.problem-badge {
  background-color: var(--red-soft);
  color: var(--red);
}

.solution-badge {
  background-color: var(--emerald-soft);
  color: var(--emerald-dark);
}

.compare-card h3 {
  font-size: 1.32rem;
  margin-bottom: 1.25rem;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.96rem;
}

.icon-cross,
.icon-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin-top: 2px;
}

.icon-cross {
  background-color: #FEE2E2;
  color: var(--red);
}

.icon-check {
  background-color: #D1FAE5;
  color: var(--emerald-dark);
}

/* ==========================================================================
   Services & Case Studies Grids
   ========================================================================== */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.case-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: var(--emerald-soft);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.22rem;
}

.feature-bullets {
  list-style: none;
  margin: 0.5rem 0 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.feature-bullets li {
  position: relative;
  padding-left: 1.25rem;
}

.feature-bullets li::before {
  content: '•';
  position: absolute;
  left: 0.2rem;
  color: var(--emerald);
  font-weight: 900;
}

.text-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--emerald);
}

/* Case Studies */
.case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.9rem;
}

.case-metric {
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.case-details {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.7rem;
}

.case-details dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-muted);
  font-weight: 700;
}

.case-details dd {
  margin: 0.1rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Interactive Sample Demo Showcase
   ========================================================================== */
.demo-showcase {
  margin-top: 2.75rem;
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.demo-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.demo-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald);
  margin-bottom: 0.25rem;
}

.demo-heading {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.demo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.demo-tab {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  background-color: var(--bg-white);
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.demo-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.demo-tab.is-active {
  background-color: var(--navy);
  color: #FFFFFF;
  border-color: var(--navy);
}

.demo-window {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.demo-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.15rem;
  background-color: #F1F5F9;
  border-bottom: 1px solid var(--border);
}

.demo-controls-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.demo-select {
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  background-color: var(--bg-white);
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0.42rem 0.75rem;
}

.demo-refresh-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--emerald);
  border: 0;
  border-radius: 6px;
  padding: 0.46rem 0.85rem;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.demo-refresh-btn:hover {
  background-color: var(--emerald-dark);
}

.demo-status-pill {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-dark);
  background-color: var(--emerald-soft);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.demo-panel {
  padding: 1.15rem;
}

.demo-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.demo-kpi {
  background-color: var(--bg-offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.demo-kpi span {
  font-size: 0.78rem;
  color: var(--slate-muted);
  font-weight: 600;
}

.demo-kpi strong {
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
}

.demo-kpi small {
  font-size: 0.76rem;
  font-weight: 600;
}

.kpi-good {
  color: var(--emerald-dark);
}

.kpi-warn {
  color: #B45309;
}

.demo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}

.demo-table th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-muted);
  background-color: var(--bg-offwhite);
  padding: 0.68rem 0.85rem;
  border-bottom: 1px solid var(--border);
}

.demo-table td {
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  font-weight: 500;
}

.demo-table tbody tr:last-child td {
  border-bottom: 0;
}

.status-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.status-ok {
  background-color: var(--emerald-soft);
  color: var(--emerald-dark);
}

.status-warn {
  background-color: #FEF3C7;
  color: #92400E;
}

.demo-window-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.8rem 1.15rem;
  background-color: var(--bg-offwhite);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--slate-muted);
}

/* ==========================================================================
   4-Step Execution Process
   ========================================================================== */
.process-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.process-step {
  background-color: var(--navy-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.6rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(16, 185, 129, 0.16);
  color: #34D399;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.process-step h3 {
  color: #FFFFFF;
  font-size: 1.1rem;
}

.process-step p {
  color: #CBD5E1;
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Pricing Tiers
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pricing-featured {
  border: 2px solid var(--emerald);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--emerald);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-head {
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.35rem;
}

.pricing-head h3 {
  font-size: 1.28rem;
}

.pricing-desc {
  font-size: 0.92rem;
  color: var(--slate-muted);
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.price-amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.price-unit {
  font-size: 0.95rem;
  color: var(--slate-muted);
  font-weight: 600;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  font-size: 0.94rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.5rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 800;
}

.pricing-card .btn {
  margin-top: auto;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: 1.2rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: inherit;
  font-size: 1.03rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--slate-muted);
  transition: transform 0.22s ease, color 0.22s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--emerald);
}

.faq-panel {
  padding: 0 1.35rem 1.25rem;
  color: var(--slate);
  font-size: 0.96rem;
}

.faq-panel p {
  margin-bottom: 0;
}

/* ==========================================================================
   Lead Capture Section & AJAX Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-lead {
  font-size: 1.05rem;
  margin-bottom: 1.65rem;
}

.contact-direct-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.direct-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.18s ease;
}

.direct-card:hover {
  border-color: var(--emerald);
  color: var(--navy);
  transform: translateY(-2px);
}

.direct-card-label {
  font-size: 0.78rem;
  color: var(--slate-muted);
  font-weight: 600;
}

.direct-card-value {
  font-size: 1.04rem;
  font-weight: 800;
  white-space: nowrap;
}

.direct-card-action {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--emerald);
  margin-top: 0.15rem;
}

.contact-guarantees {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy);
}

.lead-form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

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

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

.req {
  color: var(--red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--navy);
  background-color: var(--bg-offwhite);
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background-color: var(--bg-white);
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.16);
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.form-alert-error {
  background-color: var(--red-soft);
  color: #991B1B;
  border: 1px solid #FECACA;
}

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

.form-success-panel {
  text-align: center;
  padding: 1.25rem 0.5rem;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--emerald-soft);
  color: var(--emerald);
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* ==========================================================================
   Legal Pages (Privacy Policy & Terms)
   ========================================================================== */
.legal-page {
  padding: 3.5rem 0 4.5rem;
  background-color: var(--bg-offwhite);
}

.legal-container {
  max-width: 860px;
}

.legal-header {
  margin-bottom: 2rem;
}

.legal-header h1 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.legal-updated {
  color: var(--slate-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.legal-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.legal-card ul {
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}

.legal-card li {
  margin-bottom: 0.45rem;
}

/* ==========================================================================
   Footer & Floating WhatsApp Button
   ========================================================================== */
.site-footer {
  background-color: var(--navy);
  color: #CBD5E1;
  padding-top: 3.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  background-color: #FFFFFF;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.footer-logo-img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  margin-top: 0.9rem;
  color: #CBD5E1;
  font-size: 0.95rem;
  max-width: 36ch;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: #94A3B8;
  margin-bottom: 0;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.footer-links a,
.footer-contact-list a {
  color: #CBD5E1;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: #34D399;
}

.contact-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
}

.footer-legal-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: #059669;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.38);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-whatsapp:hover {
  background-color: #047857;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .calc-card,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 920px) {
  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    display: none;
  }

  .primary-nav.is-open {
    display: flex;
  }

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

  .nav-link {
    display: block;
    width: 100%;
    font-size: 1.02rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 78px;
  }

  .brand-logo-img {
    height: 54px;
  }

  .comparison-grid,
  .three-col,
  .pricing-grid,
  .process-grid,
  .footer-grid,
  .form-row,
  .contact-direct-cards {
    grid-template-columns: 1fr;
  }

  .calc-card,
  .lead-form-card,
  .legal-card {
    padding: 1.4rem;
  }

  .calc-result-stats,
  .demo-kpis {
    grid-template-columns: 1fr;
  }

  .demo-showcase {
    padding: 1.15rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .floating-wa-label {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .demo-tab {
    flex: 1 1 calc(50% - 0.25rem);
    text-align: center;
  }
}

@media (max-width: 380px) {
  .trust-badge {
    white-space: normal;
  }

  .direct-card-value {
    font-size: 0.92rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media print {
  .site-header,
  .floating-whatsapp {
    display: none;
  }
}
