* {
    margin: 0; padding: 0; box-sizing: border-box;
  }

  body {
    background: #364350;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: #333;
  }

  .container {
    background: white;
    max-width: 420px;
    width: 100%;
    padding: 40px 30px 60px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #364350;
  }

  h1 {
    font-size: 1.9rem;
    margin-bottom: 8px;
    color: #364350;
  }

  p.subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Contenedor de los cards */
  .links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Cada card es un link */
  .card-link {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #364350;
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(74,144,226,0.3);
    transition: background 0.3s ease, transform 0.2s ease;
    user-select: none;
  }
  .card-link:hover,
  .card-link:focus {
    background: #364350;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(53,122,189,0.4);
  }

  .card-link img.logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
    background: white;
    padding: 5px;
    flex-shrink: 0;
  }

  .card-text {
    text-align: left;
    flex: 1;
  }

  .card-text h3 {
    margin-bottom: 4px;
    font-size: 1.2rem;
    font-weight: 700;
  }

  .card-text p {
    font-size: 0.9rem;
    color: #dbe6fa;
    line-height: 1.2;
  }

  .social-icons {
    margin-top: 40px;
    display: flex;
    gap: 25px;
    justify-content: center;
  }
  
  .social-icons a {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background-color: white;        /* Fondo blanco para que el icono destaque */
    border-radius: 50%;             /* Círculo */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    color: #364350;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    padding: 6px;                   /* Espacio interno para iconos SVG */
  }
  
  .social-icons a:hover,
  .social-icons a:focus {
    background-color: #364350;      /* Fondo oscuro al hover */
    color: white;                   /* Icono en blanco al hover */
    box-shadow: 0 4px 12px rgba(54,67,80,0.6);
  }
  
  .social-icons svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }
  

  /* Responsive móvil */
  @media (max-width: 450px) {
    .container {
      padding: 30px 20px 50px;
    }

    h1 {
      font-size: 1.6rem;
    }

    .card-link img.logo {
      width: 50px;
      height: 50px;
    }

    .card-text h3 {
      font-size: 1.1rem;
    }

    .card-text p {
      font-size: 0.85rem;
    }
  }

  .save-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #364350;
  color: white;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  transition: background 0.3s ease, transform 0.2s ease;
}

.save-contact-btn:hover {
  background-color: #5d7287;
}

.save-contact-btn i {
  width: 60px;
  font-size: 2.5rem;
}