/* ==========================================================================
   J H WEB SOLUTIONS - CORE DESIGN SYSTEM & TOKENS (v4.0 Enterprise) 
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* --- Official JH Web Solutions Brand Colors (from Logo) --- */
  --jh-brand-navy: #191459;
  --jh-brand-indigo: #221C78;
  --jh-brand-indigo-light: #2E269E;
  --jh-brand-gold: #FFB800;
  --jh-brand-gold-hover: #E5A600;
  --jh-brand-lime: #72B81A;
  --jh-brand-lime-hover: #619E15;
  --jh-brand-red: #E5252A;

  /* Corporate Dark Shades */
  --jh-navy-950: #0D0A36;
  --jh-navy-900: #141047;
  --jh-navy-850: #1C175E;
  --jh-navy-800: #221C78;
  --jh-navy-700: #2D2599;
  --jh-navy-600: #3B32B8;

  /* Brand Accents */
  --jh-sapphire: #221C78;
  --jh-sapphire-hover: #191459;
  --jh-indigo: #2E269E;
  --jh-indigo-hover: #221C78;
  --jh-cyan: #06B6D4;
  --jh-cyan-glow: rgba(6, 182, 212, 0.35);

  /* Conversion & Metrics Accents */
  --jh-emerald: #72B81A;
  --jh-emerald-dark: #619E15;
  --jh-emerald-glow: rgba(114, 184, 26, 0.25);

  --jh-amber: #FFB800;
  --jh-amber-dark: #D99B00;
  --jh-rose: #E5252A;

  --jh-wa-green: #25D366;
  --jh-wa-dark: #1EBE5D;
  --jh-wa-glow: rgba(37, 211, 102, 0.35);

  /* Light Neutrals & Canvas */
  --jh-bg-body: #F8FAFC;
  --jh-bg-surface: #FFFFFF;
  --jh-bg-surface-alt: #F1F5F9;
  --jh-bg-surface-soft: #E2E8F0;

  /* Text Colors */
  --jh-text-primary: #0F172A;
  --jh-text-secondary: #475569;
  --jh-text-muted: #64748B;
  --jh-text-light: #94A3B8;
  --jh-text-white: #FFFFFF;

  /* Borders & Dividers */
  --jh-border-light: #E2E8F0;
  --jh-border-medium: #CBD5E1;
  --jh-border-dark: rgba(255, 255, 255, 0.12);
  --jh-border-glow: rgba(34, 28, 120, 0.28);

  /* Typography */
  --jh-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --jh-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation Shadows */
  --jh-shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --jh-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --jh-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --jh-shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --jh-shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  --jh-shadow-navy: 0 20px 40px -15px rgba(7, 11, 25, 0.45);
  --jh-shadow-glow: 0 12px 30px -5px rgba(34, 28, 120, 0.35);

  /* Radii */
  --jh-radius-sm: 6px;
  --jh-radius-md: 10px;
  --jh-radius-lg: 16px;
  --jh-radius-xl: 24px;
  --jh-radius-full: 9999px;

  /* Transitions */
  --jh-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --jh-transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Reset & Base Setup --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--jh-font-body);
  color: var(--jh-text-secondary);
  background-color: var(--jh-bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--jh-font-heading);
  color: var(--jh-text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  color: var(--jh-sapphire-hover);
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
}

ul,
ol {
  list-style: none;
}

/* --- Container & Layout Framework --- */
.jh-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.jh-container-full {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

@media (max-width: 768px) {
  .jh-container-full {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.jh-container-fluid {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.jh-container-narrow {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.jh-grid-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.jh-section {
  padding: 76px 0;
  position: relative;
}

.jh-section-dark {
  background-color: var(--jh-navy-950);
  color: var(--jh-text-light);
}

.jh-section-dark h1,
.jh-section-dark h2,
.jh-section-dark h3,
.jh-section-dark h4 {
  color: var(--jh-text-white);
}

/* --- Common Section Headers --- */
.jh-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.jh-section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.jh-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(34, 28, 120, 0.08);
  border: 1px solid rgba(34, 28, 120, 0.2);
  border-radius: var(--jh-radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--jh-brand-indigo);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.jh-section-dark .jh-badge-pill,
.jh-hero-section .jh-badge-pill {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.35);
  color: #FCD34D;
}

.jh-beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--jh-emerald);
  box-shadow: 0 0 0 0 rgba(114, 184, 26, 0.6);
  animation: jhPulse 2s infinite;
}

.jh-section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--jh-text-primary);
}

.jh-section-dark .jh-section-title {
  color: var(--jh-text-white);
}

.jh-section-subtitle {
  font-size: 1.125rem;
  color: var(--jh-text-secondary);
  line-height: 1.7;
}

.jh-section-dark .jh-section-subtitle {
  color: var(--jh-text-light);
}

/* Gradient Text Accent */
.jh-gradient-text {
  background: linear-gradient(135deg, var(--jh-brand-indigo) 0%, #3B82F6 45%, var(--jh-brand-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.jh-hero-section .jh-gradient-text,
.jh-section-dark .jh-gradient-text {
  background: linear-gradient(135deg, #93C5FD 0%, var(--jh-brand-gold) 55%, #FDE047 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.jh-gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Text Highlight Utilities --- */
.jh-text-highlight {
  background: linear-gradient(120deg, rgba(255, 184, 0, 0.22) 0%, rgba(255, 184, 0, 0.1) 100%);
  color: var(--jh-brand-navy, #0D0A36);
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.jh-text-highlight-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #B45309;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  border-bottom: 2px solid rgba(245, 158, 11, 0.4);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.jh-text-highlight-indigo {
  background: rgba(34, 28, 120, 0.08);
  color: var(--jh-brand-indigo, #221C78);
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  border-bottom: 2px solid rgba(34, 28, 120, 0.28);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.jh-text-highlight-green {
  background: rgba(114, 184, 26, 0.14);
  color: #2D630A;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 4px;
  border-bottom: 2px solid rgba(114, 184, 26, 0.4);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* --- Buttons & CTAs --- */
.jh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--jh-radius-full);
  font-family: var(--jh-font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--jh-transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.jh-btn-sm {
  padding: 9px 20px;
  font-size: 0.84375rem;
}

.jh-btn-primary {
  background: linear-gradient(135deg, var(--jh-brand-indigo) 0%, var(--jh-brand-indigo-light) 100%);
  color: var(--jh-text-white);
  box-shadow: 0 8px 20px -4px rgba(34, 28, 120, 0.45);
}

.jh-btn-primary:hover {
  background: linear-gradient(135deg, var(--jh-brand-navy) 0%, var(--jh-brand-indigo) 100%);
  color: var(--jh-text-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(34, 28, 120, 0.6);
}

.jh-btn-gold {
  background: linear-gradient(135deg, var(--jh-brand-gold) 0%, #F59E0B 100%);
  color: var(--jh-brand-navy);
  font-weight: 800;
  box-shadow: 0 8px 20px -4px rgba(255, 184, 0, 0.45);
}

.jh-btn-gold:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0D0A36;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(255, 184, 0, 0.6);
}

.jh-btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--jh-text-white);
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4);
}

.jh-btn-whatsapp:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #0E7266 100%);
  color: var(--jh-text-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(37, 211, 102, 0.55);
}

.jh-btn-outline {
  background: transparent;
  border: 1.5px solid var(--jh-border-medium);
  color: var(--jh-text-primary);
}

.jh-btn-outline:hover {
  border-color: var(--jh-brand-indigo);
  color: var(--jh-brand-indigo);
  background: rgba(34, 28, 120, 0.05);
  transform: translateY(-2px);
}

.jh-btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--jh-text-white);
  backdrop-filter: blur(8px);
}

.jh-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--jh-text-white);
  transform: translateY(-2px);
}

.jh-btn-icon-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Animations --- */
@keyframes jhPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes jhFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes jhGlow {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.8;
  }
}

/* Glassmorphic Surfaces */
.jh-glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--jh-radius-lg);
  box-shadow: var(--jh-shadow-lg);
}

.jh-glass-card-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--jh-radius-lg);
  box-shadow: var(--jh-shadow-navy);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .jh-section {
    padding: 72px 0;
  }

  .jh-section-title {
    font-size: 2.125rem;
  }
}

@media (max-width: 768px) {
  .jh-section {
    padding: 56px 0;
  }

  .jh-section-title {
    font-size: 1.75rem;
  }

  .jh-section-subtitle {
    font-size: 1rem;
  }

  .jh-container {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 480px) {
  .jh-section {
    padding: 44px 0;
  }

  .jh-section-header {
    margin-bottom: 28px;
  }

  .jh-section-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .jh-section-subtitle {
    font-size: 0.84375rem;
    line-height: 1.5;
  }

  .jh-container {
    padding-left: 14px;
    padding-right: 14px;
  }
}