/* ============================================================
   PODENZA — DESIGN TOKENS & BASE STYLES
   styles.css · Fase 1 · Abril 2026
   ============================================================ */

/* ===== CUSTOM PROPERTIES ===== */
:root {

  /* Colores base */
  --color-lime: #C9FF00;
  --color-green: #AFDB12;
  --color-orange: #FF931E;
  --color-dark: #181A00;
  --color-light-green: #E7FF8C;
  --color-white: #FFFFFF;

  /* Superficies y bordes */
  --surface-1: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(255, 255, 255, 0.10);
  --border-subtle: rgba(201, 255, 0, 0.12);
  --border-mid: rgba(201, 255, 0, 0.25);
  --border-active: rgba(201, 255, 0, 0.45);
  --border-orange: rgba(255, 147, 30, 0.35);

  /* Gradientes */
  --gradient-hero: linear-gradient(135deg, #C9FF00 0%, #AFDB12 52%, #FF931E 100%);
  --gradient-cta: linear-gradient(90deg, #AFDB12, #FF931E);
  --gradient-line: linear-gradient(90deg, #C9FF00, transparent);
  --gradient-logo: linear-gradient(180deg, #C9FF00 0%, #AFDB12 43%, #C9FF00 100%);
  --gradient-glass: linear-gradient(135deg, rgba(201,255,0,0.08), rgba(255,147,30,0.04));

  /* Tipografía */
  --font-display: 'Nunito', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Escala tipográfica */
  --text-hero: clamp(44px, 7vw, 72px);
  --text-h1: clamp(32px, 4vw, 52px);
  --text-h2: clamp(22px, 3vw, 36px);
  --text-h3: clamp(18px, 2vw, 24px);
  --text-body-lg: 18px;
  --text-body: 16px;
  --text-small: 14px;
  --text-caption: 12px;
  --text-eyebrow: 13px;

  /* Espaciado de secciones */
  --section-y: clamp(80px, 10vw, 140px);
  --container-max: 1160px;
  --container-px: clamp(20px, 5vw, 48px);

  /* Bordes redondeados */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-mid: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background-color: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

::selection {
  background: var(--color-lime);
  color: var(--color-dark);
}

/* ===== CONTENEDOR ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ===== TIPOGRAFÍA ===== */
.text-hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
}

.text-h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.text-h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: linear-gradient(90deg, #C9FF00, #AFDB12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-lime { color: var(--color-lime); }
.text-orange { color: var(--color-orange); }
.text-muted { color: rgba(255, 255, 255, 0.55); }
.text-soft { color: rgba(231, 255, 140, 0.7); }

/* ===== EYEBROW BADGE ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-green);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-lime);
  flex-shrink: 0;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-small);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: var(--transition-mid);
  white-space: nowrap;
  letter-spacing: -0.1px;
}

.btn-primary {
  background: var(--gradient-cta);
  background-size: 200% auto;
  color: var(--color-dark);
  animation: shimmer 3s linear infinite;
}

.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(201, 255, 0, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: var(--surface-1);
}

.btn-outline-lime {
  background: transparent;
  color: var(--color-lime);
  border: 1.5px solid var(--border-mid);
}

.btn-outline-lime:hover {
  border-color: var(--border-active);
  background: rgba(201, 255, 0, 0.06);
}

/* ===== CARDS GLASS ===== */
.card-glass {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-mid);
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--transition-mid);
}

.card-glass:hover {
  background: var(--surface-2);
  border-color: var(--border-orange);
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(201, 255, 0, 0.12);
}

.card-glass:hover::before {
  opacity: 1;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(24, 26, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border-subtle);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-white);
  letter-spacing: -0.5px;
  line-height: 1;
}

.navbar-logo-sub {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-orange);
  display: block;
  margin-top: 2px;
}

.navbar-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-links a {
  font-size: var(--text-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
  letter-spacing: 0.2px;
}

.navbar-links a:hover {
  color: var(--color-lime);
}

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

/* ===== ORBES DE FONDO ===== */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  animation: float 6s ease-in-out infinite;
}

.orb-primary {
  width: 500px;
  height: 500px;
  background: var(--gradient-hero);
  opacity: 0.35;
  top: 50%;
  right: -150px;
  transform: translateY(-50%);
  z-index: 0;
}

.orb-secondary {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-orange), transparent);
  opacity: 0.35;
  filter: blur(40px);
  bottom: 20%;
  left: 3%;
  animation-delay: -3s;
  z-index: 0;
}

/* ===== HERO ===== */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px var(--container-px) 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-tagline {
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--color-white);
  margin-bottom: 24px;
  max-width: 720px;
}

.hero-subtitle {
  font-size: var(--text-body-lg);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 52px;
}

/* ===== DOS PUERTAS ===== */
.puertas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 760px;
  width: 100%;
  margin-bottom: 64px;
}

.puerta {
  padding: 32px 28px;
  text-align: left;
}

.puerta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: 10px;
  opacity: 0.7;
}

.puerta-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.puerta-desc {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
  margin-bottom: 24px;
}

.puerta-afiliado .puerta-label { color: var(--color-lime); }
.puerta-empresa .puerta-label { color: var(--color-orange); }

.puerta .btn {
  width: 100%;
  justify-content: center;
}

/* ===== MÉTRICAS ===== */
.metrics {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 760px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  padding-top: 48px;
}

.metric {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 0.5px solid rgba(255, 255, 255, 0.08);
}

.metric:last-child {
  border-right: none;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-lime);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ===== FRANJA BANCARIA ===== */
.trust-band {
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(48px, 6vw, 80px) var(--container-px);
  text-align: center;
  border-top: 0.5px solid rgba(255, 255, 255, 0.05);
}

.trust-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.trust-sub {
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.45);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.logos-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
}

.logo-placeholder {
  width: 120px;
  height: 48px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.2);
  opacity: 0.3;
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 147, 30, 0.4);
  transition: var(--transition-mid);
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(255, 147, 30, 0.55);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

/* ===== HAMBURGER MOBILE ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger { display: flex; }

  .puertas-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metrics {
    flex-direction: column;
    gap: 24px;
    border-top: none;
    padding-top: 0;
  }

  .metric {
    border-right: none;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
  }

  .metric:last-child {
    border-bottom: none;
  }

  .orb-primary {
    width: 280px;
    height: 280px;
    right: -60px;
    opacity: 0.35;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: -1px;
  }

  .btn {
    padding: 11px 22px;
    font-size: 13px;
  }

  .puerta {
    padding: 24px 20px;
  }

  .navbar-actions .btn-ghost {
    display: none;
  }
}

.puerta-empresa .puerta-label {
  color: #FF931E !important;
}

/* ===== REVEAL — compatibilidad con .reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FOOTER PODENZA — agregar al final de styles.css
   Válido para index.html, afiliados.html, empresas.html
   ============================================================ */

.footer-pod {
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
  padding: 64px var(--container-px) 0;
  margin-top: 0;
}

.footer-pod-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

/* Columna izquierda */
.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-pod-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Datos de contacto */
.footer-pod-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.footer-contact-item:hover {
  color: var(--color-lime);
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
  transition: border-color 0.2s ease, color 0.2s ease;
}

a.footer-contact-item:hover .footer-contact-icon {
  border-color: rgba(201, 255, 0, 0.3);
  color: var(--color-lime);
}

.footer-contact-wa .footer-contact-icon {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.2);
}

.footer-contact-wa:hover .footer-contact-icon {
  border-color: rgba(37, 211, 102, 0.5) !important;
  color: #25D366 !important;
}

.footer-contact-city {
  cursor: default;
}

.footer-contact-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(201, 255, 0, 0.08);
  color: rgba(201, 255, 0, 0.6);
  margin-left: auto;
  display: none;
}

.footer-badge-wa {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

/* Columnas de navegación */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
  width: fit-content;
}

.footer-nav-list a:hover {
  color: var(--color-lime);
}

.footer-nav-highlight {
  color: var(--color-lime) !important;
  font-weight: 600;
}

/* Barra inferior */
.footer-pod-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-pod-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-pod-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
  }

  .footer-pod-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .footer-pod-inner {
    grid-template-columns: 1fr;
  }
}


/* ===== FRANJA BANCARIA — bancos con nombre ===== */
.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 120px;
  height: auto;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  opacity: 1;
  color: rgba(255, 255, 255, 0.25);
}

.bank-icon {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.2);
}

.bank-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.navbar-logo-img {
  height: 32px;
  width: auto;
  display: block;
}