/* ==========================================================================
   SafeStaff México — Sistema de Diseño Corporativo B2B (CRO + Core Web Vitals)
   ========================================================================== */

:root {
  --navy-950: #070c17;
  --navy-900: #0b1120;
  --navy-800: #131c31;
  --navy-700: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --brand-orange: #ea580c;
  --brand-orange-hover: #c2410c;
  --brand-orange-light: #fff7ed;
  --brand-orange-border: #fed7aa;
  --brand-amber: #f59e0b;

  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-50: #ecfdf5;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --danger-600: #dc2626;
  --danger-50: #fef2f2;

  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1220px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(11, 17, 32, 0.05);
  --shadow-md: 0 12px 30px -8px rgba(11, 17, 32, 0.1);
  --shadow-lg: 0 24px 50px -12px rgba(11, 17, 32, 0.18);
  --shadow-orange: 0 12px 28px -6px rgba(234, 88, 12, 0.42);
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--navy-900);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

ul, ol {
  list-style: none;
}

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

/* Skip Link for Accessibility & SEO */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-orange);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Top Trust Bar
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 8px var(--emerald-500);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-actions a {
  color: var(--white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.topbar-actions a:hover {
  color: var(--brand-orange);
}

/* ==========================================================================
   Header & Navigation (Crisp Corporate White so Logo.webp shines)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(11, 17, 32, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy-800);
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-orange);
  background: var(--brand-orange-light);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.65rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1050;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
}

.dropdown-link small {
  display: block;
  font-weight: 400;
  color: var(--slate-500);
  font-size: 0.78rem;
  margin-top: 2px;
}

.dropdown-link:hover {
  background: var(--brand-orange-light);
  color: var(--brand-orange);
}

.dropdown-divider {
  height: 1px;
  background: var(--slate-200);
  margin: 0.4rem 0;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-900);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.nav-phone-pill:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.mobile-toggle {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  color: var(--navy-900);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.55rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-sm {
  padding: 0.62rem 1.15rem;
  font-size: 0.86rem;
}

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

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-hover) 100%);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(234, 88, 12, 0.55);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: var(--white);
  box-shadow: 0 12px 26px -6px rgba(22, 163, 74, 0.42);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(22, 163, 74, 0.55);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn-outline-dark {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn-outline-dark:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

/* ==========================================================================
   Hero Section (Split Persuasive Hero + Interactive Quote Configurator)
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(234, 88, 12, 0.16), transparent 42%),
              linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, #162038 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.eyebrow-dark {
  background: rgba(234, 88, 12, 0.18);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.35);
}

.eyebrow-light {
  background: var(--brand-orange-light);
  color: var(--brand-orange-hover);
  border: 1px solid var(--brand-orange-border);
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  color: #fb923c;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--slate-300);
  margin-bottom: 1.75rem;
  max-width: 640px;
}

.hero-lead strong {
  color: var(--white);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: var(--slate-200);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Quote Card inside Hero */
.quote-card {
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-card-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-200);
}

.quote-card-badge {
  display: inline-block;
  background: var(--emerald-50);
  color: var(--emerald-600);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.quote-card h2 {
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--navy-900);
}

.quote-card p {
  font-size: 0.86rem;
  color: var(--slate-600);
  margin-top: 0.25rem;
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--navy-900);
  background: var(--slate-50);
  transition: border-color 0.2s, background-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-orange);
  background: var(--white);
}

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

.quote-recommendation {
  background: var(--brand-orange-light);
  border: 1px solid var(--brand-orange-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  color: var(--navy-800);
  margin-bottom: 1rem;
}

.quote-recommendation strong {
  color: var(--brand-orange-hover);
}

.quote-microcopy {
  text-align: center;
  font-size: 0.76rem;
  color: var(--slate-500);
  margin-top: 0.65rem;
}

/* ==========================================================================
   KPI Strip
   ========================================================================== */
.kpi-strip {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--slate-200);
  padding: 2.25rem 0;
  color: var(--white);
}

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

.kpi-item {
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.kpi-item:last-child {
  border-right: none;
}

.kpi-number {
  font-size: 2.35rem;
  font-weight: 800;
  color: #fb923c;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.kpi-label {
  font-size: 0.88rem;
  color: var(--slate-300);
}

/* ==========================================================================
   General Sections
   ========================================================================== */
.section {
  padding: 5.25rem 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-navy {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.section-header p {
  font-size: 1.08rem;
  color: var(--slate-600);
}

.section-navy .section-header p {
  color: var(--slate-300);
}

/* ==========================================================================
   Buyer Scenarios (2 High-Intent Paths)
   ========================================================================== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.scenario-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.scenario-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--brand-orange);
}

.scenario-card.urgent::before {
  background: var(--danger-600);
}

.scenario-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-orange-light);
  color: var(--brand-orange-hover);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.scenario-card.urgent .scenario-tag {
  background: var(--danger-50);
  color: var(--danger-600);
}

.scenario-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: var(--navy-900);
}

.scenario-card p {
  color: var(--slate-600);
  margin-bottom: 1.25rem;
}

.feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--slate-700);
}

.feature-checklist li::before {
  content: "✓";
  color: var(--emerald-600);
  font-weight: 800;
  flex-shrink: 0;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.service-media {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--navy-900);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04);
}

.service-sla-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 17, 32, 0.88);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-body {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: var(--navy-900);
}

.service-body p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.subservice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.subservice-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--navy-800);
  border: 1px solid var(--slate-200);
}

.subservice-pill:hover {
  background: var(--brand-orange-light);
  color: var(--brand-orange-hover);
  border-color: var(--brand-orange-border);
}

.service-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--slate-100);
}

.link-arrow {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-arrow:hover {
  color: var(--brand-orange-hover);
  gap: 0.55rem;
}

/* ==========================================================================
   ROI / Risk Calculator
   ========================================================================== */
.roi-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}

.range-slider {
  width: 100%;
  accent-color: var(--brand-orange);
  height: 8px;
  cursor: pointer;
  margin: 0.65rem 0 1.25rem;
}

.roi-result-panel {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.roi-metric {
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-metric:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

.roi-metric span {
  display: block;
  font-size: 0.84rem;
  color: var(--slate-400);
}

.roi-metric strong {
  font-size: 2rem;
  font-weight: 800;
  color: #f87171;
}

.roi-metric.positive strong {
  color: #34d399;
}

/* ==========================================================================
   Deliverables Mockup ("Qué recibe su empresa")
   ========================================================================== */
.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.report-preview {
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--navy-900);
  margin-bottom: 1.25rem;
}

.report-stamp {
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid #a7f3d0;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.report-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--slate-200);
  font-size: 0.9rem;
}

.report-row strong {
  color: var(--navy-900);
}

.step-cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-orange);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--slate-300);
}

/* ==========================================================================
   Data & Comparison Tables (SEO Featured Snippets + AI / LLM Citability)
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.93rem;
}

.comparison-table thead th {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
}

.comparison-table thead th.highlight-col {
  background: var(--brand-orange);
}

.comparison-table tbody tr:hover {
  background: var(--slate-50);
}

.comparison-table td.highlight-col {
  background: var(--brand-orange-light);
  font-weight: 600;
  color: var(--navy-900);
}

/* ==========================================================================
   Compliance Banner & Industries
   ========================================================================== */
.compliance-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.norm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 1.75rem;
}

.norm-pill {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--slate-100);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

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

.industry-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.65rem;
}

.industry-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  color: var(--navy-900);
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Testimonials Grid (All visible simultaneously — better UX & SEO than hidden slides)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--brand-amber);
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.96rem;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 1.35rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.faq-question:hover {
  color: var(--brand-orange);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--brand-orange);
  color: var(--white);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.35rem;
  color: var(--slate-600);
  font-size: 0.96rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Subpage Hero & Breadcrumbs
   ========================================================================== */
.page-hero {
  background: radial-gradient(circle at 80% 20%, rgba(234, 88, 12, 0.18), transparent 45%),
              linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

.breadcrumbs a:hover {
  color: #fb923c;
}

.breadcrumbs .sep {
  color: var(--slate-600);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  line-height: 1.18;
  font-weight: 800;
  max-width: 850px;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--slate-300);
  max-width: 760px;
  margin-bottom: 1.75rem;
}

/* AI / Executive Summary Box (Structured for LLMs & Busy Executives) */
.ai-summary-box {
  background: var(--brand-orange-light);
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.ai-summary-box h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-orange-hover);
  margin-bottom: 0.5rem;
}

.content-grid-sidebar {
  display: grid;
  grid-template-columns: 1.65fr 0.85fr;
  gap: 2.75rem;
  align-items: start;
}

.prose h2 {
  font-size: 1.65rem;
  margin: 2rem 0 0.85rem;
  color: var(--navy-900);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.22rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--navy-800);
}

.prose p {
  color: var(--slate-700);
  margin-bottom: 1.1rem;
}

.prose ul {
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--slate-700);
}

.prose ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  font-weight: 800;
}

.sticky-sidebar-card {
  position: sticky;
  top: 100px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.sticky-sidebar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.sticky-sidebar-card p {
  color: var(--slate-300);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-box {
  display: inline-block;
  background: var(--white);
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.footer-logo-box img {
  height: 40px;
  width: auto;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fb923c;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--slate-400);
}

/* ==========================================================================
   Floating WhatsApp & Sticky Mobile Conversion Bar
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: var(--white);
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
}

.mobile-sticky-bar {
  display: none;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .roi-box,
  .deliverables-grid,
  .compliance-banner,
  .content-grid-sidebar {
    grid-template-columns: 1fr;
  }

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

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

  .nav-phone-pill {
    display: none;
  }
}

@media (max-width: 820px) {
  .topbar {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-menu.open {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--brand-orange-border);
    border-radius: 0;
    margin-left: 0.75rem;
    padding: 0.25rem 0 0.25rem 0.75rem;
    min-width: 0;
  }

  .nav-cta-group .btn {
    display: none;
  }

  .kpi-grid,
  .scenarios-grid,
  .services-grid,
  .industries-grid,
  .testimonials-grid,
  .step-cards-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .kpi-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
  }

  .kpi-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero {
    padding: 2.75rem 0 3.5rem;
  }

  .hero-trust-list,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.75rem 0;
  }

  .roi-box,
  .compliance-banner {
    padding: 1.75rem;
  }

  body {
    padding-bottom: 72px;
  }

  .whatsapp-float {
    display: none;
  }

  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 0.6rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.96);
    backdrop-filter: blur(10px);
    padding: 0.65rem 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-sticky-bar .btn {
    padding: 0.78rem 0.75rem;
    font-size: 0.85rem;
  }
}
