/* =========================================
   RESET GENERAL
========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================================
   FONDO GENERAL
========================================= */
body {
  background: #eaeaea;
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* =========================================
   CONTENEDOR PRINCIPAL
========================================= */
.card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

/* =========================================
   HEADER VERDE
========================================= */
.header {
  background: lab(68.38% -42.04 68.98);
  height: 60px;
  position: relative;
}

/* Patrón decorativo */
.pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

/* Logo */
.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #ffffff;
  font-weight: bold;
}

/* =========================================
   FOTO DE PERFIL
========================================= */
.profile {
  display: flex;
  justify-content: center;
  margin-top: -6px;
}

.profile img {
  width: 150px;
  height: 150px;
  border-radius: 10%;
  border: 6px solid #ffffff;
}

/* =========================================
   INFORMACIÓN PERSONAL
========================================= */
.info {
  text-align: center;
  padding: 15px;
}

.info h1 {
  font-size: 20px;
}

.info p {
  color: #777;
}

/* =========================================
   BOTONES DE CONTACTO
========================================= */
.actions {
  display: flex;
  justify-content: space-around;
  padding: 15px 10px;
}

.actions a {
  text-decoration: none;
  color: #7bb800;
  text-align: center;
  font-size: 12px;
}

.actions i {
  font-size: 22px;
  display: block;
  margin-bottom: 5px;
}

/* =========================================
   SECCIÓN DE DETALLES
========================================= */
.details {
  background: #333;
  color: #ffffff;
}

.detail {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid #444;
}

.detail i {
  margin-right: 10px;
  color: #7bb800;
}

/* =========================================
   REDES SOCIALES
========================================= */
.social {
  text-align: center;
  padding: 15px;
}

.social i {
  color: #7bb800;
  margin: 0 10px;
  font-size: 22px;
}

/* =========================================
   CÓDIGO QR
========================================= */
.qr {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.qr img {
  width: 150px;
}

/* =========================================
   BOTÓN FINAL
========================================= */
.save-btn {
  background: #7bb800;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 15px;
  font-size: 14px;
  cursor: pointer;
}
