/* =====================
       🎛️ Estilos Personalizables
       Cambia los valores de :root para ajustar colores, tipografías y espaciados
       ===================== */
:root {
  --bg: #0b0c10;
  --surface: #12151a;
  --text: #edf2f7;
  --muted: #a0aec0;
  --primary: #7c3aed; /* morado */
  --primary-2: #a78bfa; /* morado claro */
  --accent: #06b6d4; /* cian */
  --card: #171a21;
  --border: #222632;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --maxw: 1100px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}



/* Reset y base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(
      1200px 800px at 80% -10%,
      rgba(124, 58, 237, 0.25),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at -10% 10%,
      rgba(6, 182, 212, 0.15),
      transparent 60%
    ),
    var(--bg);
  line-height: 1.6;
}
a {
  color: var(--primary-2);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Layout */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0 4px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--card));
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}
.btn.primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: white;
  border: none;
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 48px 0 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin: 10px 0 16px;
}
.lead {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--muted);
}
.cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  padding: 16px;
  border-radius: 16px;
}

.avatar-wrapper {
  flex-shrink: 0;
}

.avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-image: url("img/avatar.jpg"); /* 👈 aquí tu foto */
  background-size: cover;
  background-position: center;
  border: 4px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
}
.avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  display: block;
}

.hero-info small {
  color: var(--muted);
  display: block;
}

/* Secciones */
section {
  padding: 24px 0;
}
.section-title {
  font-size: 22px;
  margin: 0 0 12px;
}
.grid {
  display: grid;
  gap: 16px;
}

/* Tarjetas */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.muted {
  color: var(--muted);
}

/* Listas de chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 22px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--primary), transparent);
}
.tl-item {
  position: relative;
  margin-bottom: 14px;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

/* FORMULARIO DE CONTACTO */
.contact-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 500;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 200px;
  padding: 12px 20px;
  border-radius: 24px;
  font-size: 1rem;
  margin-top: 8px;
  cursor: pointer;
  align-self: start;
}

/* Estilo base */
.contact-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
}

/* El botón ocupa todo el ancho en móviles */
.contact-form button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}


/* Footer */
footer {
  padding: 38px 0 64px;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
