/* =========================================================================
   Getsonow · Links — página pública
   Mobile first (360px+) → tablet (768px+) → escritorio (1024px+).
   Paleta y tipografías de getsonow.com: fondo casi negro, verde #00E676, Outfit + DM Sans.
   ========================================================================= */

:root {
  --bg: #06070a;
  --surface: #11131b;
  --surface-2: #171a24;
  --border: rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.13);
  --text: #f0f0f5;
  --text-2: #a9aebd;
  --text-3: #7a7f8f;
  --accent: #00E676;
  --accent-2: #4fffaa;
  --accent-3: #00b35f;
  --accent-bg: rgba(0,230,118,0.09);
  --danger: #fda4a4;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --f-display: 'Outfit', -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'DM Sans', -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.2s var(--ease);
  --gutter: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- fondo: cuadrícula tenue + brillo verde ---------- */
.lk-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lk-bg-grid {
  position: absolute; inset: -60px 0 0 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  animation: lk-drift 40s linear infinite;
}
.lk-bg-glow {
  position: absolute; left: 50%; top: -220px; width: 760px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,230,118,0.16), transparent 70%);
  filter: blur(10px);
}
@keyframes lk-drift { to { transform: translateY(56px); } }

.lk-wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  padding-top: max(28px, env(safe-area-inset-top));
}

/* ---------- perfil ---------- */
.lk-hero { text-align: center; margin-bottom: 28px; }
.lk-cover { display: none; margin: 0; }
.lk-avatar {
  width: 112px; height: 112px; margin: 0 auto 16px;
  border-radius: 50%; padding: 3px;
  background: conic-gradient(from 200deg, var(--accent), var(--accent-3), #22d3ee, var(--accent));
  box-shadow: 0 0 40px rgba(0,230,118,0.28);
}
.lk-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); }
.lk-name {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.05; margin: 0 0 8px;
  text-transform: uppercase;
}
.lk-name span { color: var(--accent); }
.lk-handle { color: var(--text-3); margin: 0 0 6px; font-size: 0.95rem; }
.lk-bio { color: var(--text-2); font-size: 1.08rem; margin: 0 auto 16px; max-width: 34ch; }
.lk-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lk-chips li {
  border: 1px solid rgba(0,230,118,0.45); color: var(--text);
  background: rgba(0,230,118,0.06);
  border-radius: 999px; padding: 5px 13px; font-size: 0.85rem; font-weight: 500;
}

/* ---------- secciones ---------- */
.lk-section { margin-bottom: 28px; }
.lk-h2 {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-3);
  margin: 0 0 12px 4px;
}
.lk-h2 svg { color: var(--accent); }
.lk-h3 { font-family: var(--f-display); font-size: 1.2rem; margin: 0 0 14px; }

/* ---------- tarjetas de plataformas ---------- */
.lk-cards { display: grid; gap: 12px; }
.lk-card {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 84px; padding: 16px;
  background: linear-gradient(180deg, rgba(23,26,36,0.92), rgba(14,16,23,0.92));
  border: 1px solid var(--border); border-radius: var(--r-lg);
  cursor: pointer; overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  animation: lk-in 0.5s var(--ease) both;
}
.lk-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px 120px at 0% 0%, rgba(0,230,118,0.10), transparent 60%);
  opacity: 0; transition: opacity var(--t);
}
.lk-card:hover, .lk-card:focus-visible { border-color: rgba(0,230,118,0.45); box-shadow: 0 10px 36px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,230,118,0.15); }
.lk-card:hover::before, .lk-card:focus-visible::before { opacity: 1; }
.lk-card:active { background: var(--surface-2); }
.lk-card-icon {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; color: #06070a;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 22px rgba(0,230,118,0.30), inset 0 1px 0 rgba(255,255,255,0.25);
}
.lk-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lk-card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.lk-card-title { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.lk-badge {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent-2); background: var(--accent-bg); border: 1px solid rgba(0,230,118,0.25);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.lk-card-desc { color: var(--text-2); font-size: 0.92rem; line-height: 1.45; }
.lk-card-arrow {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-2);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  transition: color var(--t), background var(--t), transform var(--t);
}
.lk-card:hover .lk-card-arrow { color: #06070a; background: var(--accent); transform: rotate(45deg); }
.lk-cards .lk-card:nth-child(2) { animation-delay: 0.06s; }
.lk-cards .lk-card:nth-child(3) { animation-delay: 0.12s; }
.lk-cards .lk-card:nth-child(4) { animation-delay: 0.18s; }
@keyframes lk-in { from { transform: translateY(8px); } to { transform: none; } }

/* ---------- botones de redes ---------- */
.lk-socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lk-soc {
  display: flex; align-items: center; gap: 10px;
  min-width: 0; min-height: 56px; padding: 10px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  cursor: pointer; transition: border-color var(--t), background var(--t);
}
.lk-soc-icon {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
}
@supports not (background: color-mix(in srgb, red 10%, transparent)) { .lk-soc-icon { background: rgba(255,255,255,0.05); } }
.lk-soc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lk-soc-name { font-weight: 600; font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-soc-desc { color: var(--text-3); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-soc-arrow { color: var(--text-3); transition: color var(--t), transform var(--t); }
.lk-soc:hover, .lk-soc:focus-visible { border-color: var(--brand); background: var(--surface-2); }
.lk-soc:hover .lk-soc-arrow { color: var(--text); transform: rotate(45deg); }

/* ---------- preguntas frecuentes ---------- */
.lk-faq {
  background: linear-gradient(180deg, rgba(17,19,27,0.85), rgba(11,12,18,0.85));
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px 16px;
}
.lk-faq .lk-h2 { margin-left: 0; }
.lk-faq-intro { color: var(--text-2); margin: -4px 0 16px; }
.lk-faq-list { display: grid; gap: 8px; margin-bottom: 24px; }
.lk-faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.lk-faq-item[open] { border-color: rgba(0,230,118,0.3); }
.lk-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 12px 14px; cursor: pointer; list-style: none; font-weight: 600;
}
.lk-faq-item summary::-webkit-details-marker { display: none; }
.lk-chev { flex: 0 0 auto; color: var(--text-3); transition: transform var(--t); }
.lk-faq-item[open] .lk-chev { transform: rotate(180deg); color: var(--accent); }
.lk-faq-answer { padding: 0 14px 14px; color: var(--text-2); }
.lk-faq-answer p { margin: 0 0 8px; }
.lk-faq-meta { font-size: 0.8rem; color: var(--text-3); margin: 0 !important; }

/* ---------- formulario ---------- */
.lk-form { border-top: 1px solid var(--border); padding-top: 20px; }
.lk-faq-list + .lk-form { margin-top: 4px; }
.lk-grid { display: grid; gap: 14px; }
.lk-field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.lk-field input, .lk-field select, .lk-field textarea, .lk-combo-btn {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: #0b0d13; border: 1px solid var(--border-2); border-radius: var(--r-sm);
  font-size: 16px; transition: border-color var(--t), box-shadow var(--t);
}
.lk-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.lk-field input:focus, .lk-field select:focus, .lk-field textarea:focus, .lk-combo-btn:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,230,118,0.18);
}
.lk-field.has-error input, .lk-field.has-error textarea, .lk-field.has-error .lk-combo-btn { border-color: #f87171; }
.lk-err { margin: 6px 0 0; color: var(--danger); font-size: 0.82rem; min-height: 0; }
.lk-err:empty { display: none; }
.lk-hint { margin: 6px 0 0; color: var(--text-3); font-size: 0.8rem; }
.lk-phone { display: grid; grid-template-columns: 118px 1fr; gap: 8px; }
.lk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* selector con banderas (mejora el <select> nativo) */
.lk-combo { position: relative; }
.lk-combo-native { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.lk-combo-btn { display: flex; align-items: center; gap: 8px; text-align: left; cursor: pointer; }
.lk-combo-btn .lk-combo-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-combo-btn svg { flex: 0 0 auto; color: var(--text-3); }
.lk-flag { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }
.lk-combo-pop {
  position: absolute; z-index: 30; left: 0; top: calc(100% + 6px);
  width: max(100%, 280px); max-height: 320px; display: flex; flex-direction: column;
  background: #10131b; border: 1px solid var(--border-2); border-radius: var(--r-md);
  box-shadow: 0 18px 48px rgba(0,0,0,0.6); overflow: hidden;
}
.lk-combo-pop[hidden] { display: none; }
.lk-combo-search { margin: 8px; min-height: 42px !important; padding: 8px 12px !important; }
.lk-combo-list { list-style: none; margin: 0; padding: 0 6px 6px; overflow-y: auto; overscroll-behavior: contain; }
.lk-combo-opt {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px;
  border-radius: 8px; cursor: pointer; font-size: 0.95rem;
}
.lk-combo-opt .lk-dial { margin-left: auto; color: var(--text-3); font-variant-numeric: tabular-nums; }
.lk-combo-opt[aria-selected="true"] { background: var(--accent-bg); color: var(--accent-2); }
.lk-combo-opt.is-active { background: rgba(255,255,255,0.06); }

/* captcha */
.lk-captcha-row { display: grid; grid-template-columns: auto auto; gap: 8px; align-items: center; }
.lk-captcha-row img { width: 100%; max-width: 220px; height: auto; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: #0f1117; }
.lk-captcha-row input { grid-column: 1 / -1; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 700; }
.lk-icon-btn {
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-sm); color: var(--text-2);
  transition: color var(--t), border-color var(--t);
}
.lk-icon-btn:hover { color: var(--accent); border-color: var(--accent); }

.lk-btn {
  margin-top: 18px; width: 100%; min-height: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #04120a; border: 0; border-radius: 999px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; cursor: pointer;
  box-shadow: 0 0 28px rgba(0,230,118,0.25);
  transition: background var(--t), box-shadow var(--t), opacity var(--t);
}
.lk-btn:hover { background: var(--accent-2); box-shadow: 0 0 36px rgba(0,230,118,0.38); }
.lk-btn[disabled] { opacity: 0.6; cursor: progress; }
.lk-form-msg { margin: 12px 0 0; font-size: 0.95rem; text-align: center; }
.lk-form-msg.ok { color: var(--accent-2); }
.lk-form-msg.bad { color: var(--danger); }
.lk-form.is-done .lk-grid, .lk-form.is-done .lk-btn { display: none; }
.lk-form.is-done .lk-form-msg {
  padding: 18px; border-radius: var(--r-md); background: var(--accent-bg); border: 1px solid rgba(0,230,118,0.3);
}

/* ---------- pie ---------- */
.lk-footer { text-align: center; padding-top: 8px; }
.lk-footer a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 0.85rem; min-height: 44px; transition: color var(--t); }
.lk-footer a:hover { color: var(--text); }
.lk-mark {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #06070a;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
}

/* ---------- tablet ---------- */
@media (min-width: 768px) {
  :root { --gutter: 28px; }
  .lk-wrap { max-width: 860px; padding-top: 36px; }
  .lk-hero.has-cover .lk-cover {
    display: block; position: relative; overflow: hidden;
    border-radius: 26px; border: 1px solid var(--border);
    aspect-ratio: 2.5 / 1; background: #06070a;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  }
  .lk-hero.has-cover .lk-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
  /* Con portada, el perfil ya está en la imagen: queda solo para lectores de pantalla y buscadores. */
  .lk-hero.has-cover .lk-profile {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .lk-socials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lk-faq { padding: 28px; }
  .lk-grid { grid-template-columns: 1fr 1fr; }
  .lk-span { grid-column: 1 / -1; }
  .lk-captcha-row { grid-template-columns: 220px 48px 1fr; }
  .lk-captcha-row input { grid-column: auto; }
  .lk-btn { width: auto; padding: 0 32px; }
}

/* ---------- escritorio ---------- */
@media (min-width: 1024px) {
  .lk-wrap { max-width: 1120px; padding-top: 44px; }
  .lk-hero.has-cover .lk-cover { aspect-ratio: 2.8 / 1; }
  .lk-cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .lk-social { position: sticky; top: 24px; }
  .lk-socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lk-card { min-height: 104px; padding: 20px 22px; }
  .lk-card-title { font-size: 1.25rem; }
  .lk-faq { padding: 32px 36px; }
  .lk-faq-list { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 1440px) { .lk-wrap { max-width: 1200px; } }

/* vista previa dentro del panel (mapa de calor): sin animaciones */
.lk-preview *, .lk-preview *::before { animation: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
