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

:root {
  --navy-blue: #0a1f44;
  --dark-blue: #1a3a5c;
  --accent-blue: #2563eb;
  --light-blue: #3b82f6;
  --white: #ffffff;
  --light-gray: #f8fafc;
  --gray: #64748b;
  --dark-gray: #334155;
  --success: #10b981;
  --shadow: rgba(10, 31, 68, 0.1);
  --shadow-lg: rgba(10, 31, 68, 0.2);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

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

/* Mejorado el espacio del logo para que sea más visible y fácil de reemplazar */
.logo-placeholder {
  width: 500px;
  height: 60px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-blue);
  letter-spacing: -0.5px;
}

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

.nav a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--accent-blue);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Estilos para el botón de acceso a plataforma en el header */
.btn-platform {
  background: var(--accent-blue);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-platform:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-platform::after {
  display: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--navy-blue);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(10, 31, 68, 0.85), rgba(26, 58, 92, 0.75)); */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.location-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 36px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(37, 99, 235, 0);
  }
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 16px;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
}

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy-blue);
}

.btn-outline {
  background: transparent;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
}

.btn-outline:hover {
  background: var(--accent-blue);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-content {
  text-align: center;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 60px;
}

.about-text {
  font-size: 18px;
  color: var(--dark-gray);
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 16px;
  color: var(--gray);
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--light-gray);
}

.services .section-title {
  text-align: center;
}

.services .section-subtitle {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px var(--shadow-lg);
}

.service-card.featured {
  border: 3px solid var(--accent-blue);
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-blue);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy-blue), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 36px;
  color: var(--white);
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 15px;
}

.service-description {
  color: var(--gray);
  margin-bottom: 25px;
  line-height: 1.6;
}

.service-features {
  text-align: left;
  margin-bottom: 25px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--dark-gray);
}

.feature i {
  color: var(--success);
  font-size: 14px;
}

.service-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-blue);
  margin: 25px 0;
}

/* Platform Section */
.platform {
  padding: 100px 0;
  background: var(--white);
}

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

.platform-description {
  font-size: 18px;
  color: var(--dark-gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.platform-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.platform-feature {
  display: flex;
  gap: 20px;
}

.platform-feature i {
  font-size: 32px;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.platform-feature h4 {
  font-size: 20px;
  color: var(--navy-blue);
  margin-bottom: 8px;
}

.platform-feature p {
  color: var(--gray);
  line-height: 1.6;
}

.platform-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px var(--shadow-lg);
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background: var(--light-gray);
}

.benefits .section-title {
  text-align: center;
  margin-bottom: 60px;
}

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

.benefit-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--navy-blue), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--white);
}

.benefit-card h3 {
  font-size: 22px;
  color: var(--navy-blue);
  margin-bottom: 15px;
}

.benefit-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Eliminados estilos de la sección de contacto y formulario */

/* Footer */
.footer {
  background: var(--navy-blue);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Mejorado el espaciado de los elementos de contacto en el footer */
.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
  line-height: 1.6;
}

.footer-section p i,
.footer-section a i {
  color: var(--accent-blue);
  font-size: 14px;
  flex-shrink: 0;
}

.footer-section a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: 40px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow);
  }

  .nav.active {
    left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .platform-content {
    grid-template-columns: 1fr;
  }

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

  .service-card.featured {
    transform: scale(1);
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

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

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