/* === styles.css === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --accent: #4dd8ff;
  --accent-2: #00ff9d;
  --accent-glow: rgba(77, 216, 255, 0.42);
  --accent-2-glow: rgba(0, 255, 157, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --neon-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
  --navbar-height: 88px;
  --tooltip-bg: rgba(77, 216, 255, 0.92);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  position: relative;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #001018;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* Fondo de código estático (editor de programación) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-image: 
    repeating-linear-gradient(
      0deg,
      rgba(77, 216, 255, 0.03) 0px,
      rgba(77, 216, 255, 0.03) 1px,
      transparent 1px,
      transparent 2px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 255, 157, 0.02) 0px,
      rgba(0, 255, 157, 0.02) 1px,
      transparent 1px,
      transparent 40px
    );
  background-size: 100% 24px, 100% 100%;
}

/* Opcional: añade números de línea simulados */
body::after {
  content: "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30";
  position: fixed;
  top: 20px;
  left: 20px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 24px;
  color: rgba(77, 216, 255, 0.15);
  white-space: pre;
  z-index: -1;
  pointer-events: none;
}

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

/* Cursor personalizado */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
  background: var(--accent);
  border-color: var(--accent);
}

html {
  scroll-behavior: smooth;
}

section {
  padding: 100px 20px;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--accent);
  color: #001018;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: #001018;
  box-shadow: 0 0 20px var(--accent-glow);
}

.jah-logo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 146px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(77, 216, 255, 0.5);
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.52);
  box-shadow: 0 0 20px rgba(77, 216, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.jah-logo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(77, 216, 255, 0.48);
}

.jah-logo-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

footer {
  text-align: center;
  padding: 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

.footer-logo {
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 15px;
  letter-spacing: 2px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-logo:hover {
  opacity: 1;
}

.footer-logo img {
  width: min(150px, 44vw);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  filter: drop-shadow(0 0 18px rgba(77, 216, 255, 0.38));
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 5%;
  transition: transform 0.3s ease;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.logo {
  flex: 0 0 auto;
}

.logo a {
  font-family: 'Courier New', monospace;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 2px;
  transition: text-shadow 0.3s ease;
  white-space: nowrap;
}

.logo a:hover {
  text-shadow: 0 0 8px var(--accent-glow);
}

.logo a.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 78px;
  padding: 0;
  letter-spacing: 0;
  line-height: 1;
}

.logo a.brand-logo:hover {
  text-shadow: none;
}

.logo a.brand-logo img {
  display: block;
  width: 168px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 0 14px rgba(77, 216, 255, 0.42));
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  min-width: 0;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  box-shadow: var(--neon-shadow);
}

/* Botón volver arriba */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  border: none;
  box-shadow: var(--neon-shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: scale(1.1);
}

/* Chatbot */
.chatbot-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 157, 0.5);
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 0 22px var(--accent-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chatbot-toggle:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 32px var(--accent-glow);
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(360px, calc(100vw - 32px));
  height: 520px;
  max-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(12, 12, 12, 0.94);
  border: 1px solid rgba(0, 255, 157, 0.28);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 255, 157, 0.18);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.chatbot-widget.open .chatbot-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.18), rgba(255, 255, 255, 0.04));
  border-bottom: 1px solid var(--glass-border);
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 157, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 255, 157, 0.3);
}

.chatbot-title strong {
  display: block;
  font-size: 0.98rem;
}

.chatbot-title span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.chatbot-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.chatbot-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chatbot-message {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.chatbot-message.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.chatbot-message.user {
  align-self: flex-end;
  background: var(--accent);
  color: #000;
  font-weight: 600;
}

.chatbot-message a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chatbot-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}

.chatbot-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.45;
  animation: chatbotTyping 1s infinite ease-in-out;
}

.chatbot-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chatbot-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.chatbot-actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px 0;
}

.chatbot-action {
  flex: 1;
  border: 1px solid rgba(0, 255, 157, 0.28);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(0, 255, 157, 0.07);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chatbot-action:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
}

.chatbot-quick-replies {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
}

.chatbot-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(0, 255, 157, 0.38);
  background: rgba(0, 255, 157, 0.08);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chatbot-chip:hover {
  background: rgba(0, 255, 157, 0.18);
  transform: translateY(-1px);
}

.chatbot-form {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.22);
}

.chatbot-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 11px 14px;
  outline: none;
}

.chatbot-input:focus {
  border-color: rgba(0, 255, 157, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.08);
}

.chatbot-send {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  cursor: pointer;
}

.chatbot-input:disabled {
  opacity: 0.65;
}

@keyframes chatbotTyping {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* Loader */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 5px solid var(--glass-border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Estadísticas */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
  text-align: center;
}

.stat-item {
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Tooltips */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: var(--tooltip-bg);
  color: #000;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  pointer-events: none;
  z-index: 100;
}

[data-tooltip]:hover:before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

/* Mejora de hover en tarjetas */
.skill-card, .glass-card {
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.skill-card:hover, .glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

/* Parallax */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Ajuste hero navbar */
#hero {
  padding-top: calc(100px + var(--navbar-height));
}

/* ===== ESTILOS GLOBALES PARA SKILLS (para que funcionen en #skills y en #value) ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.skill-card {
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: var(--neon-shadow);
}

.skill-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.skill-bar {
  width: 100%;
  height: 10px;
  background: #333;
  border-radius: 5px;
  margin-top: 15px;
  overflow: hidden;
}

/* Sección del asistente virtual */
.assistant-showcase {
  background: linear-gradient(180deg, rgba(0, 255, 157, 0.04), rgba(255, 255, 255, 0.015));
  border-top: 1px solid rgba(0, 255, 157, 0.12);
  border-bottom: 1px solid rgba(0, 255, 157, 0.12);
}

.assistant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 50px;
  align-items: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.assistant-copy p {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  margin-bottom: 28px;
}

.assistant-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.assistant-features div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.assistant-features i {
  display: block;
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.assistant-features span {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.35;
}

.assistant-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.assistant-preview {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}

.assistant-preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(0, 255, 157, 0.18), rgba(255, 255, 255, 0.04));
  border-bottom: 1px solid var(--glass-border);
}

.assistant-preview-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: rgba(0, 255, 157, 0.1);
}

.assistant-preview-header strong,
.assistant-preview-header span {
  display: block;
}

.assistant-preview-header span {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.assistant-preview-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.preview-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.preview-message.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
}

.preview-message.user {
  align-self: flex-end;
  background: var(--accent);
  color: #000;
  font-weight: 700;
}

.assistant-preview-chips {
  display: flex;
  gap: 8px;
  padding: 0 20px 20px;
  overflow-x: auto;
}

.assistant-preview-chips span {
  flex: 0 0 auto;
  border: 1px solid rgba(0, 255, 157, 0.38);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--accent);
  background: rgba(0, 255, 157, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.skill-progress {
  height: 100%;
  background: var(--accent);
  width: 0;
  border-radius: 5px;
  box-shadow: var(--neon-shadow);
}

/* Proyectos */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card {
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
  text-align: left;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--neon-shadow);
}

.project-card .project-img {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 20px;
  text-align: center;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.project-card p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.project-card .project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.project-links .btn-outline {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Bloques SEO/IA y conversión */
.ai-answer-section .seo-card {
  min-height: 100%;
}

.conversion-section {
  padding-top: 70px;
}

.conversion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.conversion-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  border: 1px solid rgba(77, 216, 255, 0.24);
  border-radius: 16px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(77, 216, 255, 0.08), rgba(0, 255, 157, 0.035)),
    rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.conversion-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(77, 216, 255, 0.18);
}

.conversion-card i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #001018;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
  font-size: 1.25rem;
}

.conversion-card strong {
  font-size: 1.08rem;
  color: var(--text-primary);
}

.conversion-card span {
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Ajuste lista sobre mí */
#about ul li {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  body {
    cursor: auto;
  }

  .custom-cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
    font-size: 0.9rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .back-to-top {
    bottom: 92px;
    right: 20px;
  }
  .chatbot-widget {
    right: 16px;
    bottom: 16px;
  }
  .chatbot-panel {
    height: 460px;
    bottom: 72px;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .skills-grid {
    gap: 20px;
  }
  .projects-grid {
    gap: 20px;
  }
  .assistant-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .assistant-features {
    grid-template-columns: 1fr;
  }
  .assistant-preview {
    max-width: 100%;
  }
  .assistant-cta .btn {
    width: 100%;
    text-align: center;
  }
  .conversion-card {
    min-height: auto;
  }
  /* Ajustar números de línea en móvil */
  body::after {
    display: none;
  }
  .navbar {
    flex-direction: column;
    height: auto;
    min-height: var(--navbar-height);
    gap: 8px;
    padding: 10px 16px;
  }
  .logo {
    margin-bottom: 0;
  }
  .logo a {
    font-size: 1.5rem;
  }
  .logo a.brand-logo {
    width: 132px;
    height: 58px;
  }
  .logo a.brand-logo img {
    width: 132px;
    max-height: 58px;
  }
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}
