/* ==================== GLOBAL ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
}

body {
  background: #0f1419;
  color: #fff;
  line-height: 1.6;
}



/* Excepciones: mantener logos sin redondear */
.logo-container img,
.footer-brand img {
  border-radius: 0 !important;
}

/* ==================== NAV ==================== */
.nav {
  position: fixed;        /* ← Fijo arriba */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;           /* ← Siempre por encima */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background: rgba(20, 20, 35, 0.521);
  
  backdrop-filter: blur(12px);        /* ← Efecto premium */
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero {
  padding-top: 120px; /* Ajusta según el tamaño del menú */
}


.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo-container img {
  width: 40px;
  height: 36px;
}

/* Add these new rules for the logo link to prevent purple on visit */
.logo-container a {
  color: #fff;
  text-decoration: none;
}

.logo-container a:visited {
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #990000;
  text-shadow: 0 0 15px rgba(204, 0, 0, 0.6);
  position: relative;
}

.nav-links a:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #990000, transparent);
  animation: slideUnderline 0.4s ease;
}

.nav-cta {
  background: #990000;
  padding: 10px 22px;
  border-radius: 30px;
  color: #ffffff !important;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.45s, height 0.45s; /* menos abrupto */
}

.nav-cta:hover::before {
  width: 120px;  /* reducido desde 300px */
  height: 120px; /* reducido desde 300px */
}

.nav-cta:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(204, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Menu toggle responsive */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  z-index: 4;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive hamburger menu */
@media (max-width: 768px) {
  .nav {
    padding: 20px 20px;
  }

  /* MENÚ RESPONSIVE: usar fixed + flexbox centrado */
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(20, 20, 28, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;      /* centra horizontalmente los items */
    justify-content: center;  /* centra vertical/horizontal dentro del contenedor */
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    padding: 0;
    z-index: 999;
    margin: 0;
  }

  /* Al abrir, mostrar y permitir tamaño automático */
  .nav-links.active {
    max-height: 420px; /* suficiente para varios items */
    padding: 12px 0;
  }

  /* cada item se adapta y se centra */
  .nav-links li {
    width: auto;           /* quitar full-width */
    margin: 6px 0;
    text-align: center;
    list-style: none;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    width: auto;           /* quitar width:100% */
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
  }

  /* Alinear y ajustar el botón CTA para que quede centrado */
  .nav-cta {
    width: auto;           /* no ocupar todo el ancho */
    margin: 6px 0;
    padding: 10px 22px;
    align-self: center;    /* se centra dentro del flex column */
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
    width: 100%;
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: #990000;
    text-shadow: 0 0 15px rgba(204, 0, 0, 0.6);
  }

  .hero {
    flex-direction: column;
    padding: 0 20px;
    min-height: 100vh;
    gap: 30px;
  }

  .hero-overlay h1 {
    font-size: 2.5rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .cta {
    padding: 15px 40px;
    font-size: 1.1rem;
  }

  .hero-visual {
    width: 250px;
  }

  .hero-visual img {
    width: 120%;
  }

  .footer {
    padding: 40px 30px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }

  .footer-col {
    margin-left: 0;
    text-align: center;
  }

  .footer-col h3 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 10px;
  }

  .footer-brand img {
    max-width: 120px;
  }

  .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-list a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
  }

  .footer-col p {
    font-size: 13px;
    margin: 5px 0;
  }

  .footer-col a {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 15px;
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 30px 20px 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col h3 {
    font-size: 12px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
  }

  .footer-brand {
    grid-column: 1;
    margin-bottom: 15px;
  }

  .footer-brand img {
    max-width: 100px;
  }

  .footer-list a {
    padding: 6px 0;
    font-size: 12px;
  }

  .footer-col p {
    font-size: 12px;
    margin: 4px 0;
  }

  .footer-col a {
    font-size: 12px;
  }

  .footer-bottom {
    padding: 12px 10px;
    font-size: 10px;
    line-height: 1.4;
  }

  .footer-bottom a {
    display: block;
    margin: 3px 0;
  }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 90vh;
  background: url('imagenes/hero.png') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 0 40px;
  overflow: visible;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.38);
  z-index: 0;
}


/* ==================== HERO TEXTO ==================== */
.hero-content-box {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 60px 50px;
  max-width: 1000px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 90px;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1s forwards, textGlow 2.5s infinite alternate;
  animation-delay: 0.2s;
}

.hero-overlay p {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 1s forwards;
  animation-delay: 0.6s;
}

.cta {
  padding: 20px 50px;
  font-size: 1.2rem;
  border-radius: 60px;
  border: none;
  background: linear-gradient(135deg, #990000, #a70606);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  animation: fadeUp 1s forwards;
  animation-delay: 1s;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.3);
}

.cta::before {
  display: none;
}

.cta:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(204, 0, 0, 0.5);
}

/* ==================== HERO MOCKUP FLOTANTE ==================== */
.hero-visual {
  position: relative;
  z-index: 2;
  width: 350px;
  animation: floatGlow 4s ease-in-out infinite;
  flex-shrink: 0;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.hero-visual img {
  width: 100%;
}

/* ==================== ANIMACIONES HERO ==================== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2), 0 0 6px rgba(100, 100, 100, 0.15);
  }
  50% {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 15px rgba(100, 100, 100, 0.2);
  }
}

@keyframes floatGlow {
  0% { transform: translateY(0); }
  25% { transform: translateY(-10px); }
  50% { transform: translateY(-20px); }
  75% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ==================== FOOTER ==================== */
.footer {
  background: linear-gradient(135deg, #000000, #000000);
  padding: 60px 80px 30px;
  border-top: 1px solid #2a0000;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  margin-left: 10px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
}

.footer-col a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #cc0000;
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-col a:visited {
  color: #ffffff;
}

.footer-col a:hover {
  color: #cc0000;
  text-shadow: 0 0 12px rgba(204, 0, 0, 0.5);
}

.footer-col a:hover::after {
  width: 100%;
}

.footer-col p {
  color: #ffffff;
  margin: 5px 0;
  transition: color 0.3s;
}

.footer-col p:hover {
  color: #cc0000;
  text-shadow: 0 0 12px rgba(204, 0, 0, 0.5);
}

.footer-col p a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.footer-col p a:visited {
  color: #ffffff;
}

.footer-col p a:hover {
  color: #cc0000;
  text-shadow: 0 0 12px rgba(204, 0, 0, 0.5);
}

.footer-brand {
  text-align: center;
  margin-left: 0;
}

.logo-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.logo-circle span {
  font-size: 48px;
  font-weight: bold;
}

.brand-name {
  margin-bottom: 20px;
  font-size: 28px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  border-bottom: 1px solid #ffffff;
}

.footer-list a {
  display: block;
  padding: 12px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.footer-list a:hover {
  color: #cc0000;
  text-shadow: 0 0 12px rgba(204, 0, 0, 0.5);
}

.footer-email,
.footer-phone {
  margin-top: 10px;
  color: #ffffff;
  font-size: 15px;
}

.footer-bottom {
  border-top: 1px solid #ffffff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #ffffff;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #cc0000;
  text-shadow: 0 0 12px rgba(204, 0, 0, 0.5);
}



/* ==================== ANIMACIONES FUNCIONES ==================== */
@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 5px #ffffff, 0 0 10px rgba(255, 255, 255, 0.4);
    color: #fff;
  }
  50% {
    text-shadow: 0 0 20px #ffffff, 0 0 30px rgba(255, 255, 255, 0.7);
    color: #e0e7ff;
  }
}

@keyframes scaleUpFade {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes demoFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes demoGlow {
  0% {
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 0 12px rgba(255, 255, 255, 0.3);
  }
  100% {
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

@keyframes floatBackground {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(60px, 60px);
  }
}

@keyframes zoomInRotate {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-45deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* ==================== CONTACT PAGE ==================== */

.contact-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 80px;
  text-transform: uppercase;

  color: #4f46e5;
  text-shadow:
    0 0 10px rgba(79, 70, 229, 0.6),
    0 0 30px rgba(79, 70, 229, 0.4);
}



/* Contenedor del formulario */
.contact-form-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  z-index: 2;
}

/* Tarjeta */
.contact-form {
  width: 100%;
  max-width: 680px;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 50px 45px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  margin: 0 auto;
}

/* Título */
.contact-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #fff;
  letter-spacing: 1px;
}

/* Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Grupo */
.form-group {
  position: relative;
  margin-bottom: 40px;
}

/* Label fijo arriba */
.form-group label {
  position: absolute;
  top: -12px;
  left: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  pointer-events: none;
}

/* Inputs */
.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(204, 0, 0, 0.2);
  padding: 18px 0 10px 0;
  color: #fff;
  font-size: 15px;
  outline: none;
}

/* Focus */
.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: #cc0000;
  box-shadow: 0 3px 0 rgba(204, 0, 0, 0.4);
}

/* Focus label */
.form-group input:focus + label,
.form-group textarea:focus + label {
  color: #ffffff;
}


/* Textarea */
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}


/* Checkbox */
.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;               /* separación real */
  margin-top: 20px;
  color: #ffffff;
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #cc0000;   /* color moderno */
}



.checkbox-label {
  font-size: 15px;
  color: #cbd5f5;
  cursor: pointer;
  line-height: 1;
}

/* Botón */
.btn-enviar {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #cc0000, #990000);
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(204, 0, 0, 0.3);
}

.btn-enviar::after {
  display: none;
}

.btn-enviar:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(204, 0, 0, 0.5);
}

.demo-form .btn-demo {
  width: 100%;
  padding: 18px;
  margin-top: 20px;
  background: linear-gradient(135deg, #cc0000, #990000);
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.3);
}

.demo-form .btn-demo::before {
  display: none;
}

.demo-form .btn-demo:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(204, 0, 0, 0.5);
}

/* ==================== SOCIAL SECTION ==================== */
.social-section {
  background: linear-gradient(135deg, #0f1419 0%, #1a202c 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.social-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBackground 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.social-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: slideInDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.social-subtitle {
  font-size: 1.1rem;
  color: #a0aec0;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.social-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(79, 70, 229, 0.1));
  border: 2px solid rgba(79, 70, 229, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  transition: all 0.3s;
  cursor: pointer;
  opacity: 0;
  animation: scaleUpFade 0.6s ease-out forwards;
  position: relative;
  overflow: hidden;
}

.social-icon:hover {
  border-color: rgba(79, 70, 229, 0.8);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(79, 70, 229, 0.2));
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
}

.social-icon svg {
  width: 35px;
  height: 35px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.social-icon:hover svg {
  color: #fff;
  filter: drop-shadow(0 0 15px rgba(79, 70, 229, 0.8));
}

/* ==================== ANIMACIONES ==================== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.2), 0 0 6px rgba(100, 100, 100, 0.15);
  }
  50% {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 15px rgba(100, 100, 100, 0.2);
  }
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleGlowSoft {
  0%, 100% {
    text-shadow:
      0 0 4px rgba(180, 180, 180, 0.35),
      0 0 8px rgba(160, 160, 160, 0.25);
  }
  50% {
    text-shadow:
      0 0 10px rgba(200, 200, 200, 0.55),
      0 0 18px rgba(180, 180, 180, 0.45);
  }
}


@keyframes scaleUpFade {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes demoFadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes demoGlow {
  0% {
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4), 0 0 12px rgba(255, 255, 255, 0.3);
  }
  100% {
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

@keyframes floatBackground {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(60px, 60px);
  }
}

@keyframes zoomInRotate {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-45deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* ==================== MAPA ==================== */
.map-container {
  width: 100%;
  margin-top: 40px;
  border-top: 1px solid rgba(79, 70, 229, 0.2);
  padding-top: 40px;
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  border: 1px solid rgba(79, 70, 229, 0.25);
}

.footer-col-a{
  text-decoration: none;  /* Quita el subrayado */
  color: #ffffff;         /* Texto blanco */
  transition: color 0.3s; /* Transición suave si cambias color en hover */
}

.footer-col-a:hover{
   color: #ffffff;
}

/* ==================== RESPONSIVE COMPLETO ==================== */

@media (max-width: 1024px) {
  .nav {
    padding: 20px 40px;
  }

  .hero {
    padding: 120px 20px 40px;
  }

  .hero-content-box {
    padding: 50px 40px;
    gap: 40px;
  }

  .hero-overlay h1 {
    font-size: 2.5rem;
  }

  .hero-visual {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 20px 20px;
  }

  /* MENÚ RESPONSIVE: usar fixed + flexbox centrado */
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(20, 20, 28, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;      /* centra horizontalmente los items */
    justify-content: center;  /* centra vertical/horizontal dentro del contenedor */
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    padding: 0;
    z-index: 999;
    margin: 0;
  }

  /* Al abrir, mostrar y permitir tamaño automático */
  .nav-links.active {
    max-height: 420px; /* suficiente para varios items */
    padding: 12px 0;
  }

  /* cada item se adapta y se centra */
  .nav-links li {
    width: auto;           /* quitar full-width */
    margin: 6px 0;
    text-align: center;
    list-style: none;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    width: auto;           /* quitar width:100% */
    color: #e5e7eb;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
  }

  /* Alinear y ajustar el botón CTA para que quede centrado */
  .nav-cta {
    width: auto;           /* no ocupar todo el ancho */
    margin: 6px 0;
    padding: 10px 22px;
    align-self: center;    /* se centra dentro del flex column */
  }

  .menu-toggle {
    display: flex;
  }

  /* Footer: separar copyright (arriba) y enlaces (fila centrada abajo) */
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    white-space: normal; /* permitir salto de línea */
  }

  .footer-links {
  display: flex;
  justify-content: center;
  gap: 15px; /* separación entre enlaces */
  margin-top: 8px;
}

.footer-links a {
  display: inline-block;
}
@media (max-width: 768px) {
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
}



  /* Forzar salto de línea antes del primer enlace (los enlaces quedan en la fila de abajo) */
  .footer-bottom a:first-of-type::before {
    content: "";
    display: block;
    line-height: 0; /* ocupa línea sin añadir espacio visual extra */
  }

  /* Enlaces en fila centrada */
  .footer-bottom a {
    display: inline-block;
    margin: 0 8px;
  }

  /* mantener resto de estilos responsive ya existentes */
  .hero {
    flex-direction: column;
    padding: 0 20px;
    min-height: 100vh;
    gap: 30px;
  }

  .hero-overlay h1 {
    font-size: 2.5rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .cta {
    padding: 15px 40px;
    font-size: 1.1rem;
  }

  .hero-visual {
    width: 250px;
  }

  .hero-visual img {
    width: 120%;
  }

  .footer {
    padding: 40px 30px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }

  .footer-col {
    margin-left: 0;
    text-align: center;
  }

  .footer-col h3 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 10px;
  }

  .footer-brand img {
    max-width: 120px;
  }

  .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-list a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
  }

  .footer-col p {
    font-size: 13px;
    margin: 5px 0;
  }

  .footer-col a {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 15px;
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {


  .logo-container img {
    width: 30px;
    height: 26px;
  }

  .logo-container {
    gap: 6px;
    font-size: 1rem;
  }

  .menu-toggle span {
    width: 22px;
    height: 2.5px;
  }




  .hero {
    padding: 90px 15px 30px;
    min-height: 80vh;
  }

  .hero-content-box {
    padding: 30px 20px;
    gap: 20px;
    border-radius: 12px;
  }

  .hero-overlay h1 {
    font-size: 1.5rem;
  }

  .hero-overlay p {
    font-size: 0.9rem;
  }

  .cta {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .hero-visual {
    max-width: 250px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .features-grid {
    gap: 1rem;
    padding: 0 0.75rem;
  }

  .feature-card {
    padding: 1rem;
    border-radius: 8px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
    text-align: justify;
  }

  .contact-form-container {
    padding: 20px 15px;
  }

  .contact-form {
    padding: 30px 20px;
    border-radius: 12px;
  }

  .contact-title {
    font-size: 1.5rem !important;
    margin-bottom: 20px;
  }

  .form-grid {
    gap: 15px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 0 !important;
    font-size: 16px !important;
  }

  .form-group label {
    font-size: 0.85rem !important;
  }

  .checkbox-row {
    font-size: 0.85rem !important;
    margin-bottom: 25px !important;
  }

  .btn-enviar,
  .btn-demo {
    padding: 12px !important;
    font-size: 14px !important;
  }

  .demo-form {
    padding: 30px 20px;
    margin: 40px 15px;
    border-radius: 12px;
  }

  .demo-form h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .demo-form > p {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .map-container {
    padding: 20px 15px;
  }

  .map-container iframe {
    height: 250px;
  }

  .footer {
    padding: 30px 15px 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-brand {
    margin-bottom: 15px;
  }

  .footer-brand img {
    max-width: 100px;
  }

  .footer-col h3 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 12px;
  }

  .footer-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .footer-list a {
    padding: 6px 0;
  }

  .footer-bottom {
    padding: 12px 10px;
    font-size: 11px;
    line-height: 1.4;
  }

  .footer-bottom a {
    display: block;
    margin: 3px 0;
  }
}
@media (max-width: 768px) {
  .features {
    padding: 30px 0; /* prácticamente sin margen lateral */
  }

  .container {
    padding: 0 0; /* sin margen lateral */
  }

  .features-grid {
    padding: 0;      /* sin padding */
    gap: 20px;       /* separación mínima entre tarjetas */
  }

  .feature-card {
    padding: 20px;   /* más compacto */
    border-radius: 16px; /* opcional: más estilo móvil */
  }
}




