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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #00ffff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: contain;
}

.logo-icon 

.logo-icon::before {
    display: none;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #0080ff);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffff, #0080ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8)); }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

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

.service-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00ffff;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00ffff, #0080ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #000;
}

.service-card h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #ccc;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.about-text p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
    text-align: center;
}

.tech-animation {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(135deg, #00ffff 0%, #40e0d0 50%, #00bfff 100%);
    transform: rotate(45deg);
    border-radius: 20px;
    animation: rotate 10s linear infinite;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
    border: 3px solid rgba(0, 255, 255, 0.6);
}

.tech-animation::before {
    content: '';
    position: absolute;
    inset: 30px;
    background: #0a0a0a;
    border-radius: 15px;
    transform: rotate(-45deg);
}

.tech-animation::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" fill="none"><g stroke="%2300ffff" stroke-width="3" fill="none"><circle cx="40" cy="50" r="6"/><circle cx="80" cy="30" r="6"/><circle cx="120" cy="60" r="6"/><circle cx="160" cy="40" r="6"/><circle cx="50" cy="100" r="6"/><circle cx="100" cy="110" r="6"/><circle cx="150" cy="120" r="6"/><circle cx="60" cy="160" r="6"/><circle cx="110" cy="170" r="6"/><circle cx="140" cy="150" r="6"/><line x1="40" y1="50" x2="80" y2="30"/><line x1="80" y1="30" x2="120" y2="60"/><line x1="120" y1="60" x2="160" y2="40"/><line x1="40" y1="50" x2="50" y2="100"/><line x1="50" y1="100" x2="100" y2="110"/><line x1="100" y1="110" x2="150" y2="120"/><line x1="150" y1="120" x2="160" y2="40"/><line x1="50" y1="100" x2="60" y2="160"/><line x1="60" y1="160" x2="110" y2="170"/><line x1="110" y1="170" x2="140" y2="150"/><line x1="140" y1="150" x2="150" y2="120"/><line x1="100" y1="110" x2="110" y2="170"/><line x1="80" y1="30" x2="100" y2="110"/><line x1="120" y1="60" x2="150" y2="120"/></g></svg>') center/cover;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ffff;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.contact-info h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #ccc;
}

.contact-item i {
    color: #00ffff;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #333;
}


/* Botón flotante de WhatsApp */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg');
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  z-index: 9999;
  animation: pulseGlow 2s infinite;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
  /*transition: transform 0.2s ease-in-out;*/
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


/* -------- MODAL CHAT -------- */
.whatsapp-modal {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 100px;
    width: 300px;
    max-height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 1001;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    animation: fadeIn 0.3s ease-in-out;
}

/* Iluminación pulsante */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
  }
  100% {
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
  }
}

/* Efecto de vibración al pasar el mouse */
.whatsapp-float:hover {
  animation: shake 0.5s;
}

/* Vibración */
@keyframes shake {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, 2px); }
  50% { transform: translate(2px, -2px); }
  75% { transform: translate(-2px, 2px); }
  100% { transform: translate(0); }
}

/* -------- CABECERA DEL MODAL -------- */
.modal-header {
    background: #075e54;
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}


/* -------- CUERPO DEL CHAT -------- */
.modal-body {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #ece5dd;
}


/* -------- BURBUJAS DE MENSAJE -------- */
.bot-message, .user-message {
    padding: 8px 12px;
    margin: 6px 0;
    border-radius: 10px;
    max-width: 85%;
    word-wrap: break-word;
    animation: fadeIn 0.4s ease-in;
}

.bot-message {
    background-color: #dcf8c6;
    align-self: flex-start;
}

.user-message {
    background-color: #fff;
    align-self: flex-end;
}


/* -------- OPCIONES DE SERVICIO -------- */
.service-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: #f5f5f5;
    padding: 10px;
}

.service-options button {
    background: #25D366;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.service-options button:hover {
    background: #1eb653;
}


/* -------- ANIMACIÓN “ESCRIBIENDO…” -------- */
.typing-indicator {
    font-style: italic;
    font-size: 13px;
    color: #666;
    margin: 6px 10px;
    align-self: flex-start;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 1;   }
}


/* -------- MENSAJE PERSONALIZADO Y BOTÓN -------- */
.custom-message {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: none;
    font-size: 14px;
    width: calc(100% - 20px);
    margin: 10px;
}

.whatsapp-send-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px;
    margin: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s ease;
    font-size: 15px;
    width: calc(100% - 20px);
}

.whatsapp-send-btn:hover {
    background-color: #1eb653;
}

.ia-float {
  position: fixed;
  bottom: 90px; /* encima del botón de WhatsApp */
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #4b68ff; /* azul llamativo */
  border-radius: 50%;
  background-image: url('https://cdn-icons-png.flaticon.com/512/4712/4712106.png'); /* ícono IA */
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  z-index: 9999;
  animation: pulseGlowIA 2s infinite;
  box-shadow: 0 0 15px rgba(75, 104, 255, 0.6);
  /*transition: transform 0.2s ease-in-out;*/
}

.ia-float:hover {
  transform: scale(1.1);
}

/* Animación tipo "resplandor" */
@keyframes pulseGlowIA {
  0% {
    box-shadow: 0 0 10px rgba(75, 104, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(75, 104, 255, 0.9);
  }
  100% {
    box-shadow: 0 0 10px rgba(75, 104, 255, 0.6);
  }
}

#ia-chat-box {
  position: fixed;
  bottom: 160px;
  right: 20px;
  width: 300px;
  height: 400px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  z-index: 10000;
}

.ia-header {
  background-color: #02faed;
  color: white;
  padding: 10px;
  border-radius: 15px 15px 0 0;
  font-weight: bold;
}

.ia-messages {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

.ia-input-area {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
}

.ia-input-area input {
  flex: 1;
  padding: 5px;
}

.ia-input-area button {
  background: #02faed;
  color: white;
  border: none;
  padding: 5px 10px;
  margin-left: 5px;
  cursor: pointer;
  border-radius: 5px;
}

.social-media {
  margin-top: 20px;
  text-align: center;
}

.social-media a {
  margin: 0 10px;
  text-decoration: none;
  color: #333; /* o el color que desees */
  font-size: 28px;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #07fce7; /* cambia color al pasar el mouse */
}

/* ========== BASE PARA EL MENÚ HAMBURGUESA ========== */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
}

.helpdesk-container {
  max-width: 520px;
  margin: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.helpdesk-header h3 {
  margin: 0 0 10px;
  font-size: 26px;
  color: #007bff;
  text-align: center;
  font-weight: 600;
}

.helpdesk-message {
  margin: 12px 0;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
}

.helpdesk-message.bot {
  background: #eef7ff;
  border-left: 4px solid #007bff;
}

.helpdesk-message.user {
  background: #f9f9f9;
  border-left: 4px solid #ccc;
}

textarea {
  width: 100%;
  border: 1px solid #d0d0d0;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}

button {
  background-color: #007bff;
  border: none;
  color: white;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  margin-top: 8px;
}

.payment-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 10px;
}

.payment-methods img {
  width: 80px;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.payment-methods img:hover {
  transform: scale(1.05);
}


/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    gap: 1rem;
    position: relative;
  }

  .menu-icon {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    color: #00ffff;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    z-index: 10001;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #0a0a0a;
    padding: 1rem 0;
    border-top: 1px solid #00ffff;
    gap: 1rem;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 20px 40px 20px;
  }

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

  .hero p {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    color: #ccc;
  }

  .cta-button {
    width: 90%;
    padding: 0.8rem;
    font-size: 1rem;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tech-animation {
    margin-top: 2rem;
  }

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

  .contact-form,
  .contact-info {
    width: 100%;
  }

   .whatsapp-float {
    display: block !important;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 9999;
  }
  #whatsapp-bubble,
  #ia-chat-box {
    width: 90%;
    right: 5%;
    bottom: 80px;
  }

  #ia-chat-box {
    height: 400px;
  }

  .ia-header {
    font-size: 1rem;
    padding: 8px;
  }

  .ia-input-area input,
  .ia-input-area button {
    font-size: 14px;
  }
}

