/* ============================================================
   CB ASESOR PROFESIONAL — Styles Premium Dark/Gold
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  /* Gold Scale */
  --gold-50: #fdfbf0;
  --gold-100: #f9f0c4;
  --gold-200: #f3de80;
  --gold-300: #edcc55;
  --gold-400: #e8c132;
  --gold-500: #D4AF37;
  /* Base gold */
  --gold-600: #b8951c;
  --gold-700: #9a7a10;
  --gold-800: #7a5f08;
  --gold-900: #5a4404;
  --gold-rgb: 212, 175, 55;

  /* Backgrounds */
  --bg-primary: #000000;
  --bg-secondary: #09090b;
  --bg-tertiary: #18181b;
  --bg-card: #111113;

  /* Texts */
  --text-primary: #ffffff;
  --text-secondary: #e4e4e7;
  --text-tertiary: #a1a1aa;
  --text-quaternary: #71717a;

  /* Misc */
  --success: #22c55e;
  --info: #3b82f6;
  --border: rgba(212, 175, 55, 0.15);
  --border-hover: rgba(212, 175, 55, 0.35);

  /* Sizing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --nav-h: 80px;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ── Particles ───────────────────────────────────────────────── */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.6);
  animation: float-particle var(--dur, 20s) var(--delay, 0s) infinite ease-in-out;
  will-change: transform, opacity;
}

@keyframes float-particle {

  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.3;
  }

  25% {
    transform: translate(80px, -120px);
    opacity: 0.8;
  }

  50% {
    transform: translate(-40px, -200px);
    opacity: 0.5;
  }

  75% {
    transform: translate(-90px, -90px);
    opacity: 0.7;
  }
}

/* ── Container ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Section Common ──────────────────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
  background: rgba(var(--gold-rgb), 0.1);
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid rgba(var(--gold-rgb), 0.25);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  max-width: 600px;
  margin: 0 auto;
   line-height: 1.8;
}

/* ── Gold Gradient Text ──────────────────────────────────────── */
.gold-gradient-text {
  background: linear-gradient(to right, var(--gold-400), var(--gold-200), var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  background-size: 200% auto;
  animation: shine-text 3s linear infinite;
}

/* Clases para destacar solo ciertas palabras sin usar tags internas dentro de H1 y H2 */
.hero-title {
  max-width: 800px;
}
.section-title {
  max-width: 600px;
  margin: 0 auto 16px;
}

/* ── Glass Card ──────────────────────────────────────────────── */
.glass-card {
  background: linear-gradient(135deg,
      rgba(var(--gold-rgb), 0.07) 0%,
      rgba(var(--gold-rgb), 0.03) 50%,
      rgba(var(--gold-rgb), 0.07) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.4),
    0 2px 4px -2px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 25px 50px -12px rgba(var(--gold-rgb), 0.2), 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 40%, var(--gold-600) 70%, var(--gold-500) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  box-shadow:
    0 0 0 1px rgba(var(--gold-rgb), 0.5),
    0 4px 24px rgba(var(--gold-rgb), 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 2px rgba(var(--gold-rgb), 0.8),
    0 8px 40px rgba(var(--gold-rgb), 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.08);
}

.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
  padding: 18px 32px;
  font-size: 1.1rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-400);
  background: transparent;
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(var(--gold-rgb), 0.08);
  border-color: var(--gold-500);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-rotate {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-18px) rotate(2deg);
  }

  50% {
    transform: translateY(-9px) rotate(-2deg);
  }

  75% {
    transform: translateY(-25px) rotate(1deg);
  }
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(var(--gold-rgb), .5),
      0 4px 24px rgba(var(--gold-rgb), .35),
      inset 0 1px 0 rgba(255, 255, 255, .3);
  }

  50% {
    box-shadow:
      0 0 0 2px rgba(var(--gold-rgb), .8),
      0 8px 40px rgba(var(--gold-rgb), .6),
      0 0 80px rgba(var(--gold-rgb), .3),
      inset 0 1px 0 rgba(255, 255, 255, .3);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.12);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-emblem {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500), var(--gold-300));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.4);
}

.logo-emblem.logo-sm {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.logo-cb {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

.logo-sm .logo-cb {
  font-size: 13px;
}

.logo-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: rotate(0deg) translate(-50%, -50%);
  }

  100% {
    transform: rotate(360deg) translate(-50%, -50%);
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-500);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 50%;
}

.nav-cta-pill {
  background: rgba(var(--gold-rgb), 0.12);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  color: var(--gold-400) !important;
  border-radius: 99px;
  padding: 8px 18px;
}

.nav-cta-pill:hover {
  background: rgba(var(--gold-rgb), 0.2) !important;
  color: var(--gold-300) !important;
}

.nav-cta-pill::after {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mob-link {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.mob-link:hover {
  background: rgba(var(--gold-rgb), 0.08);
  color: var(--gold-400);
}

.mob-cta {
  margin-top: 8px;
  text-align: center;
  background: rgba(var(--gold-rgb), 0.12);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  color: var(--gold-400);
  border-radius: 99px;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse at center, rgba(var(--gold-rgb), 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(var(--gold-rgb), 0.1);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-subtitle strong {
  color: var(--gold-400);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(var(--gold-rgb), 0.04);
  border: 1px solid rgba(var(--gold-rgb), 0.12);
  border-radius: var(--radius-md);
}

.stat-item {
  text-align: center;
}

.stat-number,
.stat-prefix,
.stat-suffix {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}

.stat-prefix {
  font-size: 1.2rem;
  vertical-align: super;
}

.stat-suffix {
  font-size: 1.1rem;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-quaternary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(var(--gold-rgb), 0.2);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 480px;
}

.visual-orbit {
  position: relative;
  width: 360px;
  height: 360px;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  border-color: rgba(var(--gold-rgb), 0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-width: 1px;
  animation: orbit-spin 20s linear infinite;
}

.ring-2 {
  width: 75%;
  height: 75%;
  border-width: 1px;
  border-color: rgba(var(--gold-rgb), 0.35);
  animation: orbit-spin 14s linear infinite reverse;
}

.ring-3 {
  width: 50%;
  height: 50%;
  border-width: 2px;
  border-color: rgba(var(--gold-rgb), 0.5);
  box-shadow: 0 0 40px rgba(var(--gold-rgb), 0.2), inset 0 0 40px rgba(var(--gold-rgb), 0.1);
  animation: orbit-spin 8s linear infinite;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.2) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(var(--gold-rgb), 0.5);
}

.center-icon {
  filter: drop-shadow(0 0 16px rgba(var(--gold-rgb), 0.9));
}

.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.8));
}

.dot-1 {
  animation: orbit-spin 12s linear infinite;
  transform-origin: -140px 0;
  margin-left: -10px;
  margin-top: -10px;
}

.dot-2 {
  animation: orbit-spin 18s linear infinite reverse;
  transform-origin: -100px 0;
  margin-left: -7px;
  margin-top: -7px;
}

.dot-3 {
  animation: orbit-spin 9s linear infinite;
  transform-origin: -65px 0;
  margin-left: -8px;
  margin-top: -8px;
}

/* Floating Cards Orbiting System */
.floating-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  pointer-events: auto;
  z-index: 5;
  /* Basic centering offset to point from center */
  margin-top: -24px;
  margin-left: -80px;
}

.fc-left {
  animation: orbit-card-1 25s linear infinite;
}

.fc-right {
  animation: orbit-card-2 30s linear infinite;
}

.fc-top-right {
  animation: orbit-card-3 35s linear infinite;
}

.fc-bottom-left {
  animation: orbit-card-4 28s linear infinite;
}

.fc-mid-right {
  animation: orbit-card-5 32s linear infinite;
}

@keyframes orbit-card-1 {
  from {
    transform: rotate(0deg) translateX(210px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(210px) rotate(-360deg);
  }
}

@keyframes orbit-card-2 {
  from {
    transform: rotate(72deg) translateX(240px) rotate(-72deg);
  }

  to {
    transform: rotate(432deg) translateX(240px) rotate(-432deg);
  }
}

@keyframes orbit-card-3 {
  from {
    transform: rotate(144deg) translateX(200px) rotate(-144deg);
  }

  to {
    transform: rotate(504deg) translateX(200px) rotate(-504deg);
  }
}

@keyframes orbit-card-4 {
  from {
    transform: rotate(216deg) translateX(230px) rotate(-216deg);
  }

  to {
    transform: rotate(576deg) translateX(230px) rotate(-576deg);
  }
}

@keyframes orbit-card-5 {
  from {
    transform: rotate(288deg) translateX(220px) rotate(-288deg);
  }

  to {
    transform: rotate(648deg) translateX(220px) rotate(-648deg);
  }
}

.fc-icon {
  font-size: 1.2rem;
}

.fc-val {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.1;
}

.fc-lbl {
  display: block;
  font-size: 0.65rem;
  color: var(--text-quaternary);
  line-height: 1.1;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold-500), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}

/* ── SOCIAL PROOF ────────────────────────────────────────────── */
.social-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.proof-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-quaternary);
  margin-bottom: 24px;
}

.proof-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px; /* Incrementar un poco el gap para el logo */
  padding: 8px 18px;
  border: 1px solid rgba(var(--gold-rgb), 0.1);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.proof-logo-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: contain; /* Para que el logo no se deforme */
  background: white; /* Muchos logos tienen fondo blanco y resaltan mejor así */
  padding: 2px;
}

.proof-item:hover {
  border-color: rgba(var(--gold-rgb), 0.35);
  color: var(--gold-400);
  background: rgba(var(--gold-rgb), 0.06);
}

/* ── SERVICES (FLIP CARDS) ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card-flip {
  height: 320px;
  perspective: 1200px;
  cursor: pointer;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  text-align: center;
}

.service-card-front {
  background: var(--bg-tertiary);
  border: 1px solid rgba(var(--gold-rgb), 0.12);
  transition: border-color 0.4s ease;
}

.service-card-flip:hover .service-card-front {
  border-color: rgba(var(--gold-rgb), 0.3);
}

.svc-icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  background: rgba(var(--gold-rgb), 0.08);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 0 24px rgba(var(--gold-rgb), 0.1);
}

.service-card-flip:hover .svc-icon-wrap {
  background: rgba(var(--gold-rgb), 0.14);
  box-shadow: 0 0 40px rgba(var(--gold-rgb), 0.25);
  transform: scale(1.05);
}

.svc-title-front {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.svc-hover-hint {
  font-size: 0.7rem;
  color: var(--gold-600);
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card-flip:hover .svc-hover-hint {
  opacity: 1;
}

/* Back */
.service-card-back {
  transform: rotateY(180deg);
  border-radius: var(--radius-lg);
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
}

.svc-back-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.service-card-back h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-400);
}

.service-card-back p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.7;
}

.svc-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tag {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-400);
  background: rgba(var(--gold-rgb), 0.1);
  border: 1px solid rgba(var(--gold-rgb), 0.25);
}

/* ── PROCESS ─────────────────────────────────────────────────── */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 20px;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
  color: #000;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(var(--gold-rgb), 0.4);
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.7;
}

.process-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.1), var(--gold-600), rgba(var(--gold-rgb), 0.1));
  margin-top: 32px;
  flex-shrink: 0;
}

/* ── RESULTS ─────────────────────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.result-card {
  padding: 36px 28px;
  text-align: center;
}

.result-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.result-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 6px;
}

.result-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.result-desc {
  font-size: 0.8rem;
  color: var(--text-quaternary);
  line-height: 1.5;
}


/* ── VIDEO GRID (CASOS DE ÉXITO) ─────────────────────────────── */
.section-video-grid {
  background: var(--bg-primary);
}

.video-grid {
  display: flex;
  flex-direction: column;
  gap: 100px;
  /* More space between cases */
  max-width: 1200px;
  margin: 0 auto;
}

.video-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

/* Zig-zag: Video on the right for every second item */
.video-item:nth-child(even) {
  flex-direction: row-reverse;
}

.video-container {
  flex: 1.2;
  /* Takes 60% approx */
  width: 100%;
  overflow: hidden;
  line-height: 0;
  padding: 10px;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--gold-rgb), 0.05);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 10px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-container:hover .video-player {
  transform: scale(1.03);
}

.video-text-content {
  flex: 0.8;
  /* Takes 40% approx */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.video-text-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.video-text-content p {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  line-height: 1.8;
}

.video-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--gold-400);
  font-weight: 600;
}

.video-highlights li span {
  font-size: 1.1rem;
}

@media (max-width: 1024px) {
  .video-item {
    gap: 40px;
  }

  .video-text-content h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 850px) {
  .video-grid {
    gap: 60px;
  }

  .video-item {
    flex-direction: column !important;
    text-align: center;
    gap: 30px;
  }

  .video-highlights {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .video-container {
    padding: 6px;
    border-radius: var(--radius-md);
  }

  .video-player {
    border-radius: calc(var(--radius-md) - 6px);
  }
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  padding: 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.quote-mark {
  font-size: 3.5rem;
  line-height: 0.6;
  color: var(--gold-700);
  font-family: Georgia, serif;
  margin-bottom: 12px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  flex-grow: 1;
  /* Pushes author down so cards have equal height content distribution */
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
  border: 2px solid rgba(var(--gold-rgb), 0.3);
}

.author-info {
  flex: 1;
}

.author-info strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-quaternary);
}

.stars {
  color: var(--gold-500);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-emblem {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
}

.ring-outer {
  width: 100%;
  height: 100%;
  animation: orbit-spin 20s linear infinite;
}

.ring-inner {
  width: 78%;
  height: 78%;
  animation: orbit-spin 12s linear infinite reverse;
  border-style: dashed;
}

.about-initials {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-800), var(--gold-600), var(--gold-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #000;
  box-shadow:
    0 0 60px rgba(var(--gold-rgb), 0.4),
    0 0 120px rgba(var(--gold-rgb), 0.2);
  z-index: 1;
}

.about-badge-float {
  position: absolute;
  bottom: 10px;
  right: -10px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-400);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.about-content>p {
  color: var(--text-tertiary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hi-icon {
  color: var(--gold-500);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.about-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-400);
  background: rgba(var(--gold-rgb), 0.06);
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: rgba(var(--gold-rgb), 0.14);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.cta-bg-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(var(--gold-rgb), 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.cta-container {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  margin-bottom: 48px;
  line-height: 1.8;
}

/* Form */
.contact-form {
  text-align: left;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-quaternary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.12);
  background: rgba(var(--gold-rgb), 0.03);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.form-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-quaternary);
  margin-top: 16px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: #000;
  border-top: 1px solid rgba(var(--gold-rgb), 0.1);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand>div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--gold-600);
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-quaternary);
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(var(--gold-rgb), 0.08);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-500);
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: rgba(var(--gold-rgb), 0.2);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-quaternary);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(var(--gold-rgb), 0.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-quaternary);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-visual {
    display: none;
  }

  .about-highlights {
    align-items: center;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .process-connector {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(var(--gold-rgb), .1), var(--gold-600), rgba(var(--gold-rgb), .1));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .section {
    padding: 72px 0;
  }

  .service-card-flip {
    height: 300px;
  }

  .particle:nth-child(n+20) {
    display: none;
  }
}

/* ── CUSTOM LOGO (PLAYFAIR) & WHITE ACCENTS ──────────────────── */
.logo-custom {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-custom-letters {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -6px;
  color: #FFFFFF;
  /* Detalle principal en blanco puro según petición */
}

.logo-custom-letters .c {
  z-index: 2;
  text-shadow: 2px 0 4px rgba(0, 0, 0, 0.5);
}

.logo-custom-letters .b {
  margin-left: -8px;
  color: var(--gold-400);
  /* B en dorado, C en blanco */
}

.logo-custom-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  padding-left: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-custom-sm .logo-custom-letters {
  font-size: 28px;
  letter-spacing: -4px;
}

.logo-custom-lg .logo-custom-letters {
  font-size: 72px;
  letter-spacing: -12px;
}

/* Agregando detalles en blanco a la paleta */
.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Borde sutil blanco en vez de dorado */
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.05), 0 4px 6px -1px rgba(0, 0, 0, 0.4);
}

.section-title {
  color: #FFFFFF;
  /* Títulos principales en blanco extremo */
}

/* ── FLOATING WHATSAPP ───────────────────────────────────── */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: wa-pulse 2s infinite;
}

.floating-wa svg {
  width: 35px;
  height: 35px;
}

.floating-wa:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 15px rgba(37, 211, 102, 0.4);
}

@media (max-width: 640px) {
  .floating-wa {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .floating-wa svg {
    width: 28px;
    height: 28px;
  }
}

@keyframes wa-pulse {
  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);
  }
}