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

:root {
  --bg-primary: #ef8903;
  --card-bg: #ffffff;
  --text-primary: #2d3748;
  --text-muted: #64748b;
  --accent-color: #ef8903;
  --accent-hover: #d97706;
  --shadow-color: rgba(0, 0, 0, 0.12);
  --border-radius-card: 20px;
  --border-radius-pill: 12px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* background-color: var(--bg-primary); */ /* Fondo naranja anterior */
  background-image: url('../images/background.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Card Container */
.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius-card);
  padding: 2.75rem 2.25rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 40px var(--shadow-color), 0 6px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Header, Logo & Tagline */
.card-header {
  margin-bottom: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  max-width: 240px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1.25rem;
}

.description {
  color: #747676;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
  text-align: justify;
}

/* Contact List */
.contact-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  width: 100%;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--border-radius-pill);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.25s ease-in-out;
  word-break: break-word;
}

.contact-link i {
  font-size: 1.35rem;
  color: var(--accent-color);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

/* Specific icon accent colors on hover */
.contact-link.email-link:hover {
  background-color: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
  box-shadow: 0 4px 12px rgba(239, 137, 3, 0.15);
  transform: translateY(-2px);
}

.contact-link.email-link:hover i {
  color: #ea580c;
  transform: scale(1.1);
}

.contact-link.whatsapp-link:hover {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  transform: translateY(-2px);
}

.contact-link.whatsapp-link:hover i {
  color: #25d366;
  transform: scale(1.15);
}

/* Social Links */
.social-links {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.social-btn.linkedin:hover {
  background-color: #0077b5;
  border-color: #0077b5;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.35);
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35);
}

.social-btn.facebook:hover {
  background-color: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

/* Responsive Styles */
@media (max-width: 480px) {
  body {
    padding: 1rem;
    background-attachment: scroll;
  }

  .card {
    padding: 2.25rem 1.5rem;
    border-radius: 16px;
  }

  .card-header {
    margin-bottom: 1.5rem;
  }

  .logo {
    max-width: 200px;
    margin-bottom: 1rem;
  }

  .description {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .contact-link {
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    gap: 0.75rem;
  }

  .contact-link i {
    font-size: 1.2rem;
  }
}
