/* ==========================================================================
   DesingX Premium Landing Page Theme - Inspired by Fresha.com (Light Theme)
   ========================================================================== */

/* Design Tokens & Custom Variables */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9f8fc;
  --bg-tertiary: #f2f1f6;
  --bg-dark: #0f0d19;
  
  --text-primary: #100f14;
  --text-secondary: #4a4950;
  --text-muted: #7d7c83;
  --text-light: #ffffff;
  --text-light-muted: #eae8fc;

  /* Accent Colors (Based on Logo and Fresha Violet) */
  --color-primary: #7b69ff; /* Violet */
  --color-primary-hover: #6552f6;
  --color-primary-active: #5340e2;
  --color-secondary: #00e6c3; /* Mint */
  --color-accent-blue: #2085ec; /* Logo Blue */
  --color-accent-purple: #c43bff; /* Logo Purple */
  
  --border-color: #edecef;
  --border-focus: #7b69ff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(123, 105, 255, 0.06);
  --shadow-lg: 0 20px 40px rgba(16, 15, 20, 0.06);

  /* Fonts */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

button {
  font-family: var(--font-body);
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* Common Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-white { color: var(--text-light) !important; }
.text-white-muted { color: var(--text-light-muted) !important; }
.text-primary { color: var(--color-primary) !important; }

.hidden { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  padding: 12px 24px;
  transition: var(--transition-smooth);
  gap: 8px;
  text-align: center;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 18px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 105, 255, 0.25);
}

.btn-primary:active {
  background-color: var(--color-primary-active);
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--color-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #edecef;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--text-primary);
  background-color: rgba(16, 15, 20, 0.02);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Badges */
.badge-premium {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-secondary);
  color: var(--color-primary);
  border: 1px solid var(--bg-tertiary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  gap: 6px;
}

.badge-premium i {
  color: var(--color-accent-purple);
  font-size: 0.9rem;
}

.badge-featured {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-blue));
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-cta-mobile {
  display: none;
}

/* Sections General */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  max-width: 650px;
  margin: 0 auto 60px auto;
}

.section-tag {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ============================
   Hero — Shine Border
   ============================ */

.hero-section.shine-wrapper {
  position: relative;
  width: calc(100% - 40px); /* 20px margin on each side */
  height: calc(100vh - 120px);
  min-height: 580px;
  margin: 20px auto 40px auto;
  border-radius: 24px;
  padding: 2px; /* Border thickness */
  background: #f5f5f7;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-section.shine-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    transparent,
    transparent,
    #7b69ff,
    #c43bff,
    #7b69ff,
    transparent 25%
  );
  animation: shineSpin 4s linear infinite;
  z-index: 0;
}

@keyframes shineSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.shine-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f5f5f7;
  border-radius: 22px;
  z-index: 1;
  overflow: hidden;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
}

/* ---- Holographic background (soft glow, no radar) ---- */
.hero-holo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 70% 30%, rgba(123, 105, 255, 0.15), transparent 60%),
              radial-gradient(circle at 30% 80%, rgba(196, 59, 255, 0.1), transparent 50%);
}

/* ---- Column 1 : Text ---- */
.hero-text-block {
  position: relative;
  z-index: 1;                /* above holo-bg */
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 6% 0 8%;
  height: 100%;
}

.hero-iridescent-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 20px 0;
  line-height: 0.92;
}

.hero-line {
  display: block;
  font-family: var(--font-headings);
  font-size: clamp(3.8rem, 8.5vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #0d0d12;
  opacity: 0;
  transform: translateY(50px);
  white-space: nowrap;
}

.hero-line-1 { animation: lineSlideIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.1s forwards; }
.hero-line-2 { animation: lineSlideIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.35s forwards; }

@keyframes lineSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-iridescent-sub {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #999;
  text-transform: uppercase;
  margin: 0;
  opacity: 0;
  animation: lineSlideIn 0.6s ease 0.7s forwards;
}

/* ---- Column 2 : X logo ---- */
.hero-x-block {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.hero-x-right {
  width: clamp(300px, 55vw, 750px);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 60px rgba(110,80,220,0.3));
  animation: xFloat 5s ease-in-out 1.5s infinite;
}

@keyframes xEntrance {
  from { opacity: 0; transform: scale(0.75) translateX(60px); }
  to   { opacity: 1; transform: scale(1) translateX(0); }
}

@keyframes xFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero-section.shine-wrapper {
    height: auto;
    min-height: 85vh; /* Ensure it takes up most of the screen */
    padding: 2px;
  }
  .shine-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: 100%;
    min-height: calc(85vh - 4px);
    padding: 40px 0 20px;
  }
  .hero-text-block {
    grid-column: 1; grid-row: 1;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    height: auto;
  }
  .hero-iridescent-title { align-items: center; }
  .hero-line { 
    white-space: normal; 
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  .hero-x-block {
    grid-column: 1; grid-row: 2;
    padding: 10px 5% 0;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  .hero-x-right { 
    width: clamp(180px, 60vw, 300px); 
    max-height: 40vh;
    object-fit: contain;
  }
  .hero-holo-bg {
    -webkit-mask-image: linear-gradient(to bottom, rgba(245,245,247,1) 40%, transparent 80%);
    mask-image: linear-gradient(to bottom, rgba(245,245,247,1) 40%, transparent 80%);
  }
}








/* =====================================================
   CRM Education Section
   ===================================================== */
.crm-edu-section {
  background: #fafafa;
  padding: 100px 0 80px;
  overflow: hidden;
}

/* Hook */
.crm-hook { max-width: 720px; margin: 0 auto 52px; }

.crm-pill {
  display: inline-block;
  background: linear-gradient(135deg, #7b69ff, #b34dff);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.crm-hook-title {
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #0d0d12;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.crm-hook-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7b69ff, #c43bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.crm-hook-sub {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

/* Toggle bar */
.crm-toggle-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}

.crm-tab-btn {
  background: none;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #888;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crm-tab-btn.active {
  background: linear-gradient(135deg, #7b69ff, #c43bff);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(123, 105, 255, 0.35);
}

.crm-tab-btn:hover:not(.active) {
  border-color: #7b69ff;
  color: #7b69ff;
}

.tab-emoji { font-size: 1.2rem; }

.crm-switch-track {
  width: 52px;
  height: 28px;
  background: #e0e0e0;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.crm-switch-track.on { background: linear-gradient(135deg, #7b69ff, #c43bff); }

.crm-switch-thumb {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.crm-switch-track.on .crm-switch-thumb { transform: translateX(24px); }

/* Panels */
.crm-panel { transition: all 0.4s ease; }
.crm-panel.hidden { display: none; }

/* ---- Sin CRM — Chaos grid ---- */
.chaos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.chaos-card {
  background: #fff;
  border: 1.5px solid #ffe0e0;
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: chaosCardIn 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

.chaos-card[data-index="0"] { animation-delay: 0.05s; }
.chaos-card[data-index="1"] { animation-delay: 0.15s; }
.chaos-card[data-index="2"] { animation-delay: 0.25s; }
.chaos-card[data-index="3"] { animation-delay: 0.35s; }

@keyframes chaosCardIn {
  to { opacity: 1; transform: translateY(0); }
}

.chaos-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 100, 100, 0.1);
  border-color: #ffb3b3;
}

.chaos-icon { font-size: 2.2rem; margin-bottom: 14px; }

.chaos-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #0d0d12;
  margin-bottom: 10px;
}

.chaos-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.chaos-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

.chaos-badge.loss {
  background: #fff0f0;
  color: #d93030;
  border: 1px solid #ffc0c0;
}

.chaos-bottom-line {
  text-align: center;
  background: #fff3f0;
  border: 1px solid #ffd0c0;
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 0.95rem;
  color: #555;
}

/* ---- Con CRM — App mockup ---- */
.crm-dashboard-wrapper {
  display: flex;
  justify-content: center;
}

.crm-app-frame {
  width: 100%;
  max-width: 820px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(123,105,255,0.15);
  border: 1px solid #ede9ff;
}

.crm-app-topbar {
  background: #f3f0ff;
  border-bottom: 1px solid #e8e0ff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-dots { display: flex; gap: 6px; }
.app-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ddd;
}
.app-dots span:nth-child(1) { background: #ff6057; }
.app-dots span:nth-child(2) { background: #ffbd2e; }
.app-dots span:nth-child(3) { background: #27c93f; }

.app-title {
  flex: 1;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
}

.app-badge.live {
  font-size: 0.72rem;
  font-weight: 700;
  color: #27c93f;
  letter-spacing: 0.05em;
}

.crm-app-body {
  display: flex;
  min-height: 340px;
}

.crm-app-sidebar {
  width: 140px;
  background: #0d0d12;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.crm-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.crm-nav.active, .crm-nav:hover {
  background: rgba(123,105,255,0.25);
  color: #c4b5ff;
}

.crm-nav i { font-size: 0.85rem; }

.nav-badge {
  margin-left: auto;
  background: #7b69ff;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm-app-main {
  flex: 1;
  padding: 20px;
  background: #f9f8ff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.crm-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.crm-stat-box {
  background: #fff;
  border: 1px solid #ede9ff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.crm-stat-box.featured {
  background: linear-gradient(135deg, #7b69ff, #c43bff);
  border-color: transparent;
}

.crm-stat-box.featured .crm-stat-num,
.crm-stat-box.featured .crm-stat-suffix,
.crm-stat-box.featured .crm-stat-prefix,
.crm-stat-box.featured .crm-stat-lbl,
.crm-stat-box.featured .crm-stat-delta { color: #fff; }

.crm-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0d0d12;
  line-height: 1;
  font-family: var(--font-headings);
}

.crm-stat-suffix, .crm-stat-prefix {
  font-size: 1.2rem;
  font-weight: 900;
  color: #0d0d12;
}

.crm-stat-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.crm-stat-delta {
  font-size: 0.7rem;
  font-weight: 600;
  color: #27ae60;
  margin-top: 2px;
}

.crm-notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crm-notif {
  background: #fff;
  border: 1px solid #ede9ff;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(20px);
}

.anim-notif {
  animation: notifSlideIn 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

@keyframes notifSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

.notif-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.notif-dot.green  { background: #27c93f; box-shadow: 0 0 6px #27c93f; }
.notif-dot.amber  { background: #ffbd2e; box-shadow: 0 0 6px #ffbd2e; }
.notif-dot.purple { background: #7b69ff; box-shadow: 0 0 6px #7b69ff; }
.notif-dot.red    { background: #ff6057; box-shadow: 0 0 6px #ff6057; }

.notif-text { flex: 1; color: #333; }
.notif-time { font-size: 0.68rem; color: #bbb; white-space: nowrap; }

/* ---- Pipeline ---- */
.crm-pipeline-section {
  margin-top: 72px;
  text-align: center;
}

.pipeline-title {
  font-family: var(--font-headings);
  font-size: 1.7rem;
  font-weight: 800;
  color: #0d0d12;
  margin-bottom: 8px;
}

.pipeline-sub {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 36px;
}

.crm-pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 12px;
}

.pipeline-col {
  flex: 1;
  min-width: 160px;
  background: #fff;
  border: 1px solid #e8e0ff;
  border-radius: 14px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pipeline-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0ecff;
}

.pip-count {
  margin-left: auto;
  background: #f0ecff;
  color: #7b69ff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pip-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
}
.pip-dot.blue   { background: #5b8cff; }
.pip-dot.orange { background: #ff9f43; }
.pip-dot.yellow { background: #ffd32a; }
.pip-dot.green  { background: #27c93f; }

.pipeline-deal {
  background: #f8f7ff;
  border: 1px solid #ede8ff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pipeline-deal:hover {
  background: #ede8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(123,105,255,0.12);
}

.pipeline-deal.won {
  background: linear-gradient(135deg, #f0fff4, #e8f8f0);
  border-color: #a0e0b0;
  color: #1a7a40;
}

.deal-val {
  font-size: 0.72rem;
  font-weight: 700;
  color: #7b69ff;
  background: #f0ecff;
  padding: 2px 7px;
  border-radius: 50px;
}

.pipeline-deal.won .deal-val {
  color: #1a7a40;
  background: #d0f0dd;
}

.pipeline-arrow {
  font-size: 2rem;
  color: #c4b5ff;
  padding: 50px 6px 0;
  flex-shrink: 0;
  user-select: none;
}

/* CTA */
.crm-cta { margin-top: 60px; }
.crm-cta-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

/* =====================================================
   Process / How We Work Section
   ===================================================== */
.process-section {
  background: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-header .section-tag {
  margin-bottom: 16px;
  display: inline-block;
}

.process-title {
  font-family: var(--font-headings);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #0d0d12;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

/* ── Track ── */
.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  padding-top: 60px;
}

/* ── Connecting line ── */
.process-line {
  position: absolute;
  top: 28px;                   /* aligns with center of node dot */
  left: calc(100% / 6);        /* starts at center of col 1 */
  right: calc(100% / 6);       /* ends at center of col 3 */
  height: 2px;
  background: #ede8ff;
  border-radius: 2px;
  z-index: 0;
  overflow: hidden;
}

.process-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7b69ff, #c43bff);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Individual Step ── */
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 28px 40px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step[data-step="1"] { transition-delay: 0.15s; }
.process-step[data-step="2"] { transition-delay: 0.3s;  }

/* Node dot on the line */
.step-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b69ff, #c43bff);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
  box-shadow: 0 0 0 8px rgba(123,105,255,0.1);
  flex-shrink: 0;
}

.step-node-num {
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

/* Ghost number behind content */
.step-ghost-num {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-headings);
  font-size: clamp(6rem, 10vw, 12rem);
  font-weight: 900;
  color: #f3f0ff;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

/* Step body content */
.step-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f3f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #7b69ff;
  transition: background 0.3s, transform 0.3s;
}

.process-step:hover .step-icon-wrap {
  background: linear-gradient(135deg, #7b69ff, #c43bff);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

.step-body h3 {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0d0d12;
  margin-bottom: 12px;
  line-height: 1.2;
}

.step-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 280px;
}

.step-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7b69ff;
  background: #f0ecff;
  padding: 5px 14px;
  border-radius: 50px;
}

/* ── Quote ── */
.process-quote {
  text-align: center;
  margin-top: 64px;
  font-size: 1.1rem;
  color: #888;
  font-style: italic;
  font-weight: 500;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.quote-mark {
  font-size: 2rem;
  color: #c4b5ff;
  font-style: normal;
  line-height: 0;
  vertical-align: -0.25em;
  margin: 0 4px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .process-track {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 0;
  }
  .process-line { display: none; }
  .process-step {
    padding: 40px 20px;
    border-bottom: 1px solid #f0ecff;
  }
  .process-step:last-child { border-bottom: none; }
  .step-ghost-num { display: none; }
}

/* Services Section */
.services-section {
  background-color: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  background-color: var(--bg-secondary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background-color: var(--color-primary);
  color: var(--text-light);
  border-color: var(--color-primary);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.service-card-link:hover { gap: 12px; }

/* Featured Service Specifics */
.service-card.font-featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.service-card.font-featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-blue));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

/* Binational Section */
.binational-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
}

.section-tag-light {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.binational-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.binational-perks {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.perk-item {
  display: flex;
  gap: 20px;
}

.perk-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background-color: rgba(0, 230, 195, 0.1);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.perk-text h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.perk-text p {
  font-size: 0.95rem;
}

.binational-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.visual-card h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.visual-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.visual-map {
  height: 180px;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1rem;
}

.point::before {
  content: '';
  width: 12px;
  height: 12px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--color-secondary);
}

.point-sd::before {
  background-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

.point-tj { align-self: flex-start; }
.point-sd { align-self: flex-end; }

.pulse-line {
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  opacity: 0.6;
}

.pulse-line::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--text-light);
  border-radius: 50%;
  top: -3px;
  left: 0;
  animation: travel 3s infinite linear;
}

@keyframes travel {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Diagnostic Section */
.diagnostico-section {
  background-color: var(--bg-secondary);
}

.wizard-container {
  max-width: 760px;
  margin: 0 auto;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
}

.wizard-progress-bar {
  height: 6px;
  background-color: var(--bg-tertiary);
  width: 100%;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-blue));
  transition: width 0.4s ease;
}

.wizard-step {
  padding: 50px;
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.step-subtext {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 30px;
  margin-top: -20px;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.option-btn {
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.option-btn:hover {
  border-color: var(--color-primary);
  background-color: var(--bg-secondary);
  transform: translateY(-3px);
}

.option-btn.selected {
  border-color: var(--color-primary);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.option-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.option-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.option-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

/* Wizard Form */
.wizard-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input, 
.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(123, 105, 255, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a4950' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Success step */
.success-message {
  padding: 20px 0;
}

.success-icon {
  font-size: 4rem;
  color: var(--color-secondary);
  margin-bottom: 24px;
  animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-message h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.success-message p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 16px auto;
}

.success-note {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 30px !important;
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-primary);
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-primary);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.faq-toggle-icon {
  font-size: 1rem;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding-bottom: 24px;
  line-height: 1.6;
}

/* Open FAQ State */
.faq-item.open {
  border-color: var(--color-primary);
  background-color: var(--bg-secondary);
}

.faq-item.open .faq-answer {
  max-height: 500px; /* arbitrary height to expand */
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.contact-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-info-item i {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(123, 105, 255, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .lbl {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contact-info-item .val {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-card {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-success-msg {
  text-align: center;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-success-msg i {
  font-size: 3rem;
  color: var(--color-secondary);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-top: none;
  padding: 80px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 90px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(1); /* Makes the logo white */
}

.footer-tagline {
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icons a:hover {
  background-color: var(--color-primary);
  color: var(--text-light);
  border-color: var(--color-primary);
}

.footer-links h4,
.footer-contact-info h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-light);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links ul a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer-contact-info p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-link-item {
  color: var(--color-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  text-decoration: none;
}

.footer-link-item:hover {
  color: var(--color-primary-hover);
}

.footer-bottom {
  padding: 30px 0;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.footer-bottom p {
  color: var(--text-light-muted);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-container a {
  color: var(--text-light-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-bottom-container a:hover {
  color: var(--color-primary);
}

.footer-gb-link {
  color: var(--color-primary) !important;
  font-weight: 600;
}

.footer-gb-link:hover {
  text-decoration: underline !important;
}

/* Responsive Styles */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Header & Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 40px;
    gap: 30px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    transition: 0.4s ease-in-out;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-cta-mobile {
    display: flex;
    width: 100%;
    margin-top: 20px;
  }

  /* Hamburger transform to X */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Structural Resizes */
  section {
    padding: 60px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-section.shine-wrapper {
    height: auto;
    min-height: 80vh;
  }

  .shine-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-x-block {
    display: none; /* Hide the giant X on mobile to save space, or scale it down */
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    margin: 0 auto 30px auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .binational-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }
}

/* =====================================================
   Rising Glow Effect (Vanilla JS + CSS)
   ===================================================== */
.has-rising-glow {
  position: relative;
  overflow: hidden;
}

.rising-glow-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-particle {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  opacity: 0;
  animation: risingGlowAnimation linear infinite;
  box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
}

@keyframes risingGlowAnimation {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
    transform: translateY(-20vh) scale(1.2);
  }
  80% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-120vh) scale(0.5);
    opacity: 0;
  }
}

/* Dark Contrast Section for "Soluciones Inimaginables" */
.dark-contrast-section {
  background-color: #08080c;
  color: #ffffff;
}

.dark-contrast-section .section-title {
  color: #ffffff;
}

.dark-contrast-section .section-subtitle {
  color: #a0a0b0;
}

.dark-contrast-section .service-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dark-contrast-section .service-card p {
  color: #bbb;
}

.dark-contrast-section .service-card h3 {
  color: #fff;
}

/* Ensure content stays above the glow */
.has-rising-glow > .container,
.has-rising-glow > .shine-inner > .hero-text-block,
.has-rising-glow > .shine-inner > .hero-x-block {
  position: relative;
  z-index: 1;
}

/* =====================================================
   WhatsApp Floating Button
   ===================================================== */
.wa-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  z-index: 9999;
  font-family: var(--font-base, sans-serif);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  animation: waPulse 2s infinite;
}

.wa-float-btn:hover {
  background-color: #1ebe57;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.wa-float-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.wa-label {
  display: inline-block;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .wa-float-btn {
    padding: 14px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
  .wa-label {
    display: none;
  }
  .wa-float-btn svg {
    width: 28px;
    height: 28px;
  }
}

