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

:root {
  --primary-color: #4f46e5;
  --secondary-color: #10b981;
  --dark-color: #1f2937;
  --light-color: #f9fafb;
  --text-color: #374151;
  --border-color: #e5e7eb;
  --accent-color: #ef4444;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Navegación */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%234F46E5" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,117.3C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  animation: wave 15s linear infinite;
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(79, 70, 229, 0.1) 0%,
    transparent 50%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
  }
}

/* Animaciones de entrada */
.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
  animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Secciones */
.section {
  padding: 5rem 2rem;
}

.section:nth-child(even) {
  background: var(--light-color);
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  text-align: center;
}

.content-card {
  background: #fff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
}

.icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: var(--gradient-1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.icon-box svg {
  width: 40px;
  height: 40px;
}

/* Valores */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.valor-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.valor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.valor-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.valor-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.valor-card p {
  color: var(--text-color);
  line-height: 1.6;
}

/* Servicios */
.servicios {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.servicio-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.servicio-card.featured {
  border: 3px solid var(--primary-color);
}

.servicio-card.premium {
  border: 3px solid #f59e0b;
}

.servicio-ribbon {
  position: absolute;
  top: 15px;
  right: -35px;
  background: var(--gradient-1);
  color: #fff;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.servicio-card.premium .servicio-ribbon {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.servicio-header {
  padding: 2rem;
  background: var(--gradient-1);
  color: #fff;
}

.servicio-card.premium .servicio-header {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.servicio-header h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.servicio-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.servicio-body {
  padding: 2rem;
}

.servicio-desc {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.servicio-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.detail-icon {
  font-size: 1.2rem;
}

.servicio-precio {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
}

.servicio-card.premium .servicio-precio {
  color: #f59e0b;
}

.btn-adquirir {
  display: block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: var(--gradient-1);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.btn-adquirir:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.servicio-card.premium .btn-adquirir {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.servicio-card.premium .btn-adquirir:hover {
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.servicio-card.featured .btn-adquirir {
  background: var(--gradient-1);
}

/* Contacto */
.contacto {
  background: #000000;
  color: #000000;
}

.contacto .section-title {
  color: #000000;
}

.contacto .section-subtitle {
  color: rgba(0, 0, 0, 0.8);
}

.contacto-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #000000;
}

.info-card:hover {
  background: #ffffff;
  transform: translateY(-5px);
}

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.facebook-icon {
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #000000;
}

.info-card p {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #000000;
}

.info-card small {
  color: rgba(0, 0, 0, 0.7);
}

.contacto-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937 !important;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(31, 41, 55, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #fff;
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%231f2937" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-group select option {
  background: #fff;
  color: #1f2937;
}

.form-group select option:first-child {
  color: rgba(31, 41, 55, 0.6);
}

/* Footer */
.footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 2rem 1.5rem;
}

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

.footer-section h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

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

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* Facebook Float Button */
.facebook-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: #1877f2;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse-facebook 2s infinite;
}

.facebook-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(24, 119, 242, 0.6);
}

.facebook-float svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7);
  }
}

@keyframes pulse-facebook {
  0%,
  100% {
    box-shadow: 0 5px 20px rgba(24, 119, 242, 0.4);
  }
  50% {
    box-shadow: 0 5px 30px rgba(24, 119, 242, 0.7);
  }
}

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

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    gap: 1rem;
  }

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

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

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

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .facebook-float {
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .facebook-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .content-card {
    padding: 2rem 1.5rem;
  }

  .servicios-grid {
    gap: 1.5rem;
  }
}
