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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}
.logo-image {
    height: 40px; /* Ajusta este valor si es necesario */
    width: auto; /* Mantiene la proporción de la imagen */
    border-radius: 8px; /* Si el logo anterior tenía un fondo redondeado */
    display: inline-block; /* Para que se alinee correctamente con el texto */
    vertical-align: middle; /* Alinea verticalmente con el texto */
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.brand-text {
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2563eb;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1f2937;
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline {
  background: transparent;
  color: #1f2937;
  border: 2px solid #e5e7eb;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
}
.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}


/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #eff6ff, #ffffff, #faf5ff);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 20px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-features {
  display: flex;
  gap: 32px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
}

.feature i {
  color: #10b981;
}

.hero-card {
  position: relative;
}

.card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #60a5fa, #a855f7);
  border-radius: 24px;
  transform: rotate(6deg);
}

.card-content {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.card-header h3 {
  font-size: 24px;
  font-weight: bold;
}

.stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
}

.card-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat i {
  width: 24px;
  color: #2563eb;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 24px;
}

.section-description {
  font-size: 20px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: white;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.service-icon.red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.service-icon.green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.service-icon.orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.service-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}
.service-icon.teal {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.service-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.service-card li {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 8px;
}

.service-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 16px;
}

.service-badge.green {
  background: #dcfce7;
  color: #166534;
}
.service-badge.blue {
  background: #dbeafe;
  color: #1e40af;
}
.service-badge.purple {
  background: #f3e8ff;
  color: #7c2d12;
}
.service-badge.orange {
  background: #fed7aa;
  color: #9a3412;
}
.service-badge.red {
  background: #fecaca;
  color: #991b1b;
}
.service-badge.teal {
  background: #ccfbf1;
  color: #134e4a;
}

/* Profile Section */
.profile {
  padding: 80px 0;
  background: white;
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 64px;
}

.profile-card {
  position: relative;
}

.profile-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  border-radius: 24px;
  transform: rotate(-6deg);
}

.profile-card-content {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  background: #e5e7eb; /* Fallback background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 24px;
  overflow: hidden; /* <-- AÑADIDO */
}

.profile-avatar img { /* <-- AÑADIDO */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
}

.profile-info p {
  color: #6b7280;
}

.profile-description {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 24px;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
}

.stat-box.blue {
  background: #eff6ff;
}
.stat-box.purple {
  background: #faf5ff;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
}

.stat-box.blue .stat-number {
  color: #2563eb;
}
.stat-box.purple .stat-number {
  color: #7c3aed;
}

.stat-label {
  font-size: 12px;
  color: #6b7280;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.experience-card {
  text-align: center;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
}

.experience-card.blue {
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
}
.experience-card.purple {
  background: linear-gradient(135deg, #faf5ff, #fdf4ff);
}
.experience-card.green {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
}

.experience-card i {
  font-size: 48px;
  margin-bottom: 20px;
}

.experience-card.blue i {
  color: #2563eb;
}
.experience-card.purple i {
  color: #7c3aed;
}
.experience-card.green i {
  color: #10b981;
}

.experience-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

.experience-card p {
  color: #6b7280;
  font-size: 14px;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fafb, #eff6ff);
}

.contact .badge.green {
  background: #dcfce7;
  color: #166534;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-form-container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #374151;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-card.gradient {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
}

.info-card:not(.gradient) {
  display: flex;
  gap: 16px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
}

.info-icon.green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.info-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.info-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.info-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 12px;
}

.info-details {
  margin-top: 16px;
  font-size: 14px;
  color: #9ca3af;
}

.info-address {
  color: #9ca3af;
  margin-top: 8px;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit i {
  color: #10b981;
}

/* Footer */
.footer {
  background: #111827;
  color: white;
  padding: 64px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.footer-brand p {
  color: #9ca3af;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 32px;
  height: 32px;
  background: #374151;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background: #2563eb;
}

.footer-links h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 32px;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .profile-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .services,
  .profile,
  .contact {
    padding: 60px 0;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}