* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* 🔥 SCROLL PRO */
html {
  scroll-behavior: smooth;
  
}
#planes-web,
#seo,
#sistemas,
#extras {
  scroll-margin-top: 120px;
}
body {
  background: #ffffff;
  color: white;
}

.hero-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.hero-text p {
  color: #94a3b8;
  margin-bottom: 30px;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.hero-buttons a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;    
  height: 48px;
  padding: 0 20px;
  line-height: 1;
  white-space: nowrap; 
}
.btn-primary {
  background: #30be62;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  
}

.btn-primary:hover {
  background: #26a68a;
}

.btn-secondary {
  border: 1px solid #94a3b8;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}
.btn-secondary:hover {
  background: #26a68a;
}
/* 📱 FIX PARA CELULAR */
.btn-primary:active {
  background: #26a68a;
}

.btn-secondary:active {
  background: #26a68a;
  color: white;
}
.hero-image img {
  width: 400px;
  max-width: 100%;
}


.hero {
  position: relative;
  padding: 80px 10% 100px;
  z-index: 1;
}

/* 🔥 FONDO DIVIDIDO (LA CLAVE) */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65%; /* azul arriba */
  background: #005187;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%; /* blanco abajo */
  background: white;
  z-index: -1;
}

/* CONTENIDO */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
/* IMAGEN */
.hero-image {
  position: relative;
  width: 450px;
  display: flex;
  justify-content: center;
}

/* 🔥 IMAGEN PERFECTAMENTE CENTRADA */
.hero-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);

  transform: translateY(-40px);
}
.hero-text {
  max-width: 500px;
  color: white;
  transform: translateY(-160px); /* 🔥 en vez de margin */
}
header {
  position: sticky;  /* 🔥 CLAVE */
  top: 0;
  z-index: 1000;
  background: #005187;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
/* LOGO */
.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-right: 40px;
}
.logo img{
    width: 80px; /* ajusta el tamaño */
    height: auto;
}
/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 20px; 
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

nav a:hover {
  color: #26a68a;
}
/* BOTÓN */
.btn-nav {
  margin-left: 20px;
  background: #111827;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
}

/* OCULTO EN DESKTOP */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  margin-left: 15px;
}

@media (max-width: 1024px) {

  nav {
    gap: 10px; 
  }

  nav a {
    font-size: 14px;
  }

  .btn-nav {
    padding: 8px 12px; 
    font-size: 14px;
  }

}
@media (max-width: 768px) {

  header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }
  /* BOTÓN HAMBURGUESA */
  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
  }

  /* MENÚ */
  nav {
    position: absolute;
    top: 70px;
    right: 10%;
    width: 240px;
    background: #111827;
    border-radius: 10px;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  }

  nav.active {
    display: flex;
    z-index: 9999;
  }

  nav a {
    padding: 10px;
    border-radius: 6px;
  }

  nav a:hover {
    background: #1f2937;
  }

  /* BOTÓN SUPERIOR OCULTO */
  header > .btn-nav {
    display: none;
  }

  /* BOTÓN VERDE */
  .mobile-btn {
    display: block;
    background: #30be62;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
  }

  /* 🔥 TEXTO (FIX GRANDE) */
  .hero-text {
    transform: none;
    padding: 0 10px;
  }

  .hero-text h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 15px;
  }

  /* 🔥 IMAGEN (FIX) */
 .hero-image {
  width: 280px; /* tamaño ideal */
  margin: 30px auto 0;
}

.hero-img {
  width: 100%;
}

  /* 🔥 BOTONES */
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .btn-secondary {
    background: white;
    color: #0f172a;
  }
.hero-container {
  flex-direction: column;
  text-align: center;
}

.hero-text {
  order: 1;
}

.hero-image {
  order: 2;
  margin-top: 30px;
}
}

@media (max-width: 768px) {

  .services {
    padding: 60px 20px; /* menos espacio en móvil */
  }
.services {
  background: #ffffff;
  padding: 80px 20px;
}
.services h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #111827;         
  text-align: center;     
  margin-bottom: 50px;   
}
  .services-grid {
    grid-template-columns: 1fr; /* 🔥 UNA SOLA COLUMNA */
    gap: 20px;
  }

  .service-card {
    padding: 20px;
  }
}
.services {
  padding: 0px 60px 80px;
  margin-top: -180px; /* 🔥 sube toda la sección */
}

.services h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #111827;         
  text-align: center;     
  margin-top: 20px; /* 🔥 sube el título */
  margin-bottom: 50px;   
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: #0b1220;
  padding: 25px;
  border-radius: 18px;
  transition: 0.3s;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card p {
  color: #94a3b8;
}

/* CODE BOX */
.code-box {
  background: #0f172a;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  color: #22c55e;
  font-family: monospace;
}

/* ================== CHART ================== */
.chart-pro {
  margin-top: 20px;
}

#line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

/* animación línea */
.services.active #line {
  animation: drawLine 2s ease forwards;
}

/* área */
#area {
  opacity: 0;
}
.services.active #area {
  animation: fadeArea 2s ease forwards 1s;
}

/* animaciones */
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeArea {
  to {
    opacity: 1;
  }
}

/* ================== TASK SYSTEM ================== */
.task-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.check {
  color: #22c55e;
  margin-right: 10px;
  opacity: 0;
  transform: scale(0.8);
}
.task-bar {
  flex: 1;
  height: 8px;
  background: #1e293b;
  border-radius: 5px;
  position: relative; /* 🔥 CLAVE */
  overflow: hidden;
}

/* barra animada */
.task-bar::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  background: #22c55e;
  border-radius: 6px;
}

/* animación barras */
.services.active .task-bar::after {
  animation: fillBar 1s ease forwards;
}

/* animación check */
.services.active .check {
  animation: showCheck 0.4s forwards;
}

/* delays (efecto escalonado 🔥) */
.services.active .task-row:nth-child(1) .check,
.services.active .task-row:nth-child(1) .task-bar::after {
  animation-delay: 0.2s;
}

.services.active .task-row:nth-child(2) .check,
.services.active .task-row:nth-child(2) .task-bar::after {
  animation-delay: 0.5s;
}

.services.active .task-row:nth-child(3) .check,
.services.active .task-row:nth-child(3) .task-bar::after {
  animation-delay: 0.8s;
}

.services.active .task-row:nth-child(4) .check,
.services.active .task-row:nth-child(4) .task-bar::after {
  animation-delay: 1.1s;
}

/* keyframes */
@keyframes fillBar {
  to {
    width: 100%;
  }
}

@keyframes showCheck {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 📱💻 TABLET (CLAVE) */
@media (max-width: 1024px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-image {
    width: 300px;
    margin-top: 30px;
  }

  .hero-img {
    transform: none;
  }

}
/* 💻📱 TABLET NAVBAR FIX */
@media (max-width: 1024px) {

  header {
    flex-wrap: wrap; /* 🔥 permite bajar elementos */
  }

  nav {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  nav a {
    margin: 0 10px;
    font-size: 14px;
  }

  .btn-nav {
    margin-left: auto;
  }
}
@media (max-width: 768px) {

  /* 🔥 HEADER */
  header {
    padding: 15px 20px;
  }

  /* 🔥 HERO */
  .hero {
     padding: 170px 10% 40px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  /* 🔥 TEXTO */
  .hero-text {
    transform: none;
    padding: 0 10px;
  }

  .hero-text h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 14px;
  }

  /* 🔥 BOTONES */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  /* 🔥 BOTÓN SECUNDARIO FIX */
  .btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
  }

  /* 🔥 IMAGEN */
  .hero-image {
    width: 220px;
    margin: 30px auto 0;
  }

  .hero-img {
    transform: none;
    width: 100%;
  }

  /* 🔥 MENÚ */
  nav {
    right: 5%;
    width: 90%; /* 🔥 ocupa bien el espacio */
  }

}
/* ================= PLANES WEB PRO ================= */
.plans-web {
  padding: 40px 10px 80px;
  background: #ffffff;
  text-align: center;
}

.plans-web h2 {
  font-size: 32px;
  color: #111827;
  margin-top: -50px; /* 🔥 ESTO LO SUBE */
  margin-bottom: 10px;
}

.plans-subtitle {
  color: #64748b;
  margin-bottom: 50px;
}
/* ================= GRID PRINCIPAL ================= */

.plans-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;

  width: 100%;        /* 🔥 ocupa todo */
  max-width: none;    /* 🔥 QUITA LÍMITE */

  padding: 0 10px;    /* 🔥 borde tipo 1cm */
}
/* ================= FILA INFERIOR ================= */

.plans-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 🔥 IGUAL QUE ARRIBA */
  max-width: 750px; /* 🔥 mismo ancho contenedor */
  margin: 40px auto 0;
  gap: 25px;
}
/* ================= CARD ================= */
.plan-card {
  background: #f8fafc;
  border-radius: 18px;
  padding: 15px 10px;
  text-align: left;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  max-width: 95%; /* 🔥 clave */
  margin: auto;
  transition: all 0.3s ease;
  transform: none;
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.12),
    0 10px 20px rgba(0,0,0,0.08);
}
.plan-card:hover {
  transform: translateY(-6px);
}

/* ================= TEXTOS ================= */

.plan-card h3 {
  font-size: 14px;
  color: #111827;
}

.price {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 0;
  color: #111827;
}

.tag {
  color: #64748b;
  font-size: 12px;
  margin-bottom: 12px;
}
/* ================= LISTA ================= */

.plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.plan-card ul li {
  margin-bottom: 6px;
  font-size: 12.5px; /* 🔥 NUEVO */
  color: #475569;
  line-height: 1.3;
}
/* ================= BOTÓN ================= */

.plan-card .btn-primary {
  display: flex;             
  justify-content: center;
  align-items: center;
  height: 40px;              
  padding: 0 20px;           
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
  border-radius: 10px;
}
/* ================= DESTACADO ================= */

.plan-card.featured {
  background: #0b1220;
  color: white;
  border: 2px solid #30be62;
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.plan-card.featured h3,
.plan-card.featured .price {
  color: white;
}

.plan-card.featured ul li {
  color: #cbd5f5;
}

.plan-card.featured .btn-primary {
  background: #30be62;
  color: #000;
  font-weight: 600;
}

.plan-card.featured:hover {
  transform: scale(1.08);
}
/* ================= VARIANTES ================= */
/* CLARO */
.plan-light {
  background: #f8fafc;
  color: #111827;
}

/* OSCURO */
.plan-dark {
  background: #0b1220;
  color: white;
}

.plan-dark ul li {
  color: #cbd5f5;
}
/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .plans-bottom {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

}
/* BOTONES BASE (NEGROS) */
.toggle-btn {
  background: #0b1220;
  color: #cbd5f5;
  padding: 10px 18px;
  border-radius: 25px;
  border: 1px solid #1e293b;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* HOVER */
.toggle-btn:hover {
  transform: translateY(-2px);
  background: #111827;

  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* ACTIVO (VERDE PRO) */
.toggle-btn.active {
  background: #30be62;
  color: #000;
  border: none;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(48,190,98,0.6);
}

/* CLICK */
.toggle-btn:active {
  transform: scale(0.95);
}
.plans-toggle {
  display: flex;
  justify-content: flex-end; 
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  width: 100%;          
  max-width: 1100px;  
  margin-left: auto;     
  margin-right: auto;    
}

.transition-text {
  position: relative;
  z-index: 5;
  text-align: left;
  width: fit-content;       
  max-width: none;
  display: inline-block;    
  margin: 0 0 60px 5%;
  transform: translateY(-180px);
  padding: 20px 25px;
  background: #0b1220;
  color: #e2e8f0;
  border-radius: 14px;
  border: 1px solid #1e293b;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  font-family: "Courier New", monospace;
  min-height: 140px; /* 🔥 clave */

}
#typing-title {
  display: inline-block;
  font-family: "Courier New", monospace;
  font-size: 15px;
  line-height: 1.6;
  color: #e2e8f0;
  white-space: pre; /* 🔥 ESTE es el correcto */
}
/* CURSOR */
#typing-title::after {
  content: "|";
  animation: blink 1s infinite;
  color: #f472b6; /* 🔥 rosadito */
}

/* PARPADEO */
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
.keyword {
  color: #f472b6; /* rosado */
}

.property {
  color: #60a5fa; /* azul */
}

.string {
  color: #c084fc; /* morado */
}
/* ================= RESPONSIVE FINAL ================= */

@media (max-width: 768px) {

  /* HERO */
  .hero {
    padding: 60px 20px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    transform: none;
    margin: 0 auto;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-image {
    width: 220px;
    margin: 30px auto 0;
  }

  /* TRANSITION TEXT */
  .transition-text {
    transform: none;
    margin: 20px auto;
    width: 90%;
    max-width: 100%;
  }

  /* SERVICES */
  .services {
    margin-top: 0;
    padding: 60px 20px;
  }

  /* PLANES */
.plans-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 🔥 FORZAR 5 */
  gap: 15px;
  max-width: 95%; /* 🔥 MÁS ANCHO */
  margin: auto;
  padding: 0 15px; /* 🔥 separación elegante */
}
  .plans-bottom {
    grid-template-columns: 1fr;
  }

}

.plans-toggle {
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.toggle-btn {
  width: 90%;
  text-align: center;
}
/* ================= RESPONSIVE PLANES ================= */

@media (max-width: 1200px) {
  .plans-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 📱 Tablet */
@media (max-width: 900px) {
  .plans-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 📱 Celular */
@media (max-width: 600px) {
  .plans-container {
    grid-template-columns: 1fr;
  }
}

/* ================= SECCIÓN POTENCIA TU WEB ================= */
.extras {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 15px;
  text-align: left;
}

/* CONTENEDOR (MISMO ESTILO PLAN DESTACADO) */
.extras-box {
  background: #0b1220;
  border-radius: 16px;
  padding: 30px;
  

  border: 1px solid #1e293b;

  box-shadow: 
    0 20px 50px rgba(0,0,0,0.4),
    0 10px 25px rgba(0,0,0,0.2);
}

/* LISTA */
.extras-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ITEMS */
.extras-list li {
  margin-bottom: 12px;
  color: #cbd5f5;
  font-size: 14px;
  line-height: 1.5;
  display: block; /* 🔥 evita que se salga */
  word-wrap: break-word;
  transition: all 0.2s ease;
}

/* HOVER */
.extras-list li:hover {
  color: white;
  font-weight: 600;
  transform: translateX(6px);
}
/* DESCRIPCIONES (los textos pequeños debajo) */
.extra-desc {
  font-size: 13px;
  color: #64748b;
  margin-left: 20px;
  margin-bottom: 15px;
}

/* TITULO */
.extras h2 {
  font-size: 28px;
  color: #f8f9fa;
  margin-bottom: 10px;
}

/* SUBTITULO */
.extras-subtitle {
  color: #64748b;
  margin-bottom: 25px;
}
/* TITULO PRINCIPAL */
.extras-title {
  font-size: 26px;
  color: white;
  font-weight: 700;
  margin-bottom: 10px;
   position: relative;
  z-index: 1;

}

/* SUBTITULO */
.extras-box .extras-subtitle {
  color: #94a3b8;
  margin-bottom: 25px;
  font-size: 14px;
}
/* ================= POTENCIA TU WEB ================= */

.extras {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 15px;
}

/* 🔥 CONTENEDOR PRINCIPAL */
.extras-box {
  position: relative;
  background: #0b1220;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #1e293b;
  box-shadow: 
    0 20px 50px rgba(0,0,0,0.4),
    0 10px 25px rgba(0,0,0,0.2);
}
/* ================= COHETE ================= */

.badge-rocket {
  position: absolute;
  top: 10px;
  left: 0; /* 🔥 ahora a la izquierda */
  background: #0b1220;
  color: #30be62;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 10;
  opacity: 0;
}

/* 🚀 ACTIVACIÓN */
.badge-rocket.active {
  opacity: 1;
  animation: rocketMove 1.2s ease-out forwards, rocketFloat 2s ease-in-out 1.2s infinite;
}

/* 🚀 MOVIMIENTO (IZQ → CENTRO) */
@keyframes rocketMove {
  0% {
    transform: translate(0, 20px) scale(0.8);
    opacity: 0;
  }
  50% {
    transform: translate(120px, -10px) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate(220px, 0);
  }
}

/* 🌊 FLOTACIÓN FINAL */
@keyframes rocketFloat {
  0%, 100% {
    transform: translate(220px, 0);
  }
  50% {
    transform: translate(220px, -6px);
  }
}

/* ================= FUEGO ================= */

.badge-rocket::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #facc15, #f97316, transparent);
  border-radius: 50%;
  opacity: 0;
}

/* 🔥 ACTIVAR FUEGO */
.badge-rocket.active::after {
  animation: fire 0.15s infinite alternate;
  opacity: 1;
}

/* 🔥 ANIMACIÓN FUEGO */
@keyframes fire {
  0% {
    transform: translate(-50%, 0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, 8px) scale(1.6);
    opacity: 0;
  }
}

/* ================= TITULOS ================= */

.extras-title {
  font-size: 26px;
  color: white;
  font-weight: 700;
  margin-bottom: 10px;
}

.extras-subtitle {
  color: #94a3b8;
  margin-bottom: 25px;
  font-size: 14px;
}

/* ================= LISTA ================= */

.extras-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.extras-list li {
  margin-bottom: 12px;
  color: #cbd5f5;
  font-size: 14px;
  line-height: 1.5;
  display: block;
  word-wrap: break-word;
  transition: all 0.2s ease;
}

/* 🔥 HOVER */
.extras-list li:hover {
  color: white;
  font-weight: 600;
  transform: translateX(6px);
}

/* DESCRIPCIONES */
.extra-desc {
  font-size: 13px;
  color: #64748b;
  margin-left: 20px;
  margin-bottom: 15px;
}
/* 🔥 CHISPAS */
.badge-rocket::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #facc15, #f97316, transparent);
  border-radius: 50%;
  opacity: 0;
}

/* 🔥 ACTIVAR CHISPAS */
.badge-rocket.active::after {
  animation: fire 0.12s infinite alternate;
  opacity: 1;
}

/* 🔥 ANIMACIÓN */
@keyframes fire {
  0% {
    transform: translate(-50%, 0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, 10px) scale(1.8);
    opacity: 0;
  }
}
.badge-rocket.active {
  animation: rocketFly 2s ease-out forwards;
}

@keyframes rocketFly {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(250px); /* 🔥 cruza el título */
  }
}
.hidden {
  display: none;
}
/* 🔥 CENTRAR PLANES SEO */
.seo-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}
.seo-container .plan-card {
  max-width: 280px;
  width: 100%;
}
/* 🔥 REDUCIR ALTURA GENERAL */
.plan-card {
  min-height: 480px; /* antes 560 */
  padding: 12px 10px;
}

/* 🔥 TEXTO MÁS COMPACTO */
.plan-card ul li {
  font-size: 11.5px;
  line-height: 1.2;
  margin-bottom: 5px;
}

/* 🔥 TÍTULO */
.plan-card h3 {
  font-size: 13px;
}

/* 🔥 PRECIO */
.price {
  font-size: 18px;
  margin: 10px 0;
}

/* 🔥 SUBTEXTO */
.tag {
  font-size: 11px;
  margin-bottom: 8px;
}
.volver-extras {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 15px;       
  font-weight: 700;      
  color: #30be62;
  padding: 8px 14px;     
  border-radius: 10px;
  background: #111827;   
  text-decoration: none;
  transition: all 0.3s ease;
}

/* HOVER */
.volver-extras:hover {
  transform: translateX(-4px) scale(1.05);
  color: #22c55e;
}
/* 🔥 CONTENEDORES RELATIVOS */
#seo,
#planes-web,
.extras-box {
  position: relative;
}

/* 🔥 BOTÓN VOLVER GLOBAL */
.btn-volver {
  position: absolute;
  top: 90px;
  right: 20px;
  font-size: 15px;
  font-weight: 700;
  color: #30be62;
  padding: 8px 14px;
  border-radius: 10px;
  background: #111827;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(48,190,98,0.3);
}

/* 🔥 HOVER PRO */
.btn-volver:hover {
  transform: translateX(-4px) scale(1.05);
  color: #22c55e;
}
.cta-idea {
  max-width: 900px;
  margin: 20px auto 50px;
  padding: 25px;
  background: #0b1220;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #1e293b;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.cta-idea h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 10px;
}

.cta-idea p {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
}
.cta-idea .btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 54px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 10px;
}
/* ================= REDES FLOTANTES ================= */

.social-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* BOTONES */
.social-float a {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent; /* ✅ SIN FONDO */
  box-shadow: none; /* 🔥 opcional quitar sombra */
  transition: all 0.3s ease;
}

/* IMÁGENES */
.social-float img {
  width: 45px;
  height: 45px;
}
/* HOVER */
.social-float a:hover {
  transform: translateY(-5px) scale(1.1);
}

/* CONTENEDOR */
.social-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  z-index: 9999;
}

/* FILA WHATSAPP */
.whatsapp-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BURBUJA */
.whatsapp-bubble {
  background: #25D366;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
  white-space: nowrap;
}

/* ICONOS */
.social-float img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: 0.3s;
}

/* HOVER */
.social-float img:hover {
  transform: scale(1.1);
}
/* ================= HERO PORTAFOLIO ================= */

.hero-portafolio {
  background: #ffffff;
  padding: 40px 20px 20px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portafolio-container {
  max-width: 900px;
  margin: auto;
}

.hero-portafolio h1 {
  font-size: 40px;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-portafolio p {
  color: #64748b;
  font-size: 18px;
  margin-bottom: 20px;
  transform: translateY(-10px);
}
.portafolio-container .btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  padding: 0 34px;
  margin-top: -30px;  
  margin-bottom: 10px;
  background: linear-gradient(135deg, #30be62, #22c55e);
  color: white;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: 14px;
  box-shadow:
    0 12px 24px rgba(48,190,98,0.28),
    0 4px 10px rgba(0,0,0,0.10);

  transition: all 0.28s ease;
}
.portafolio-container .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);

  box-shadow:
    0 18px 34px rgba(48,190,98,0.38),
    0 8px 18px rgba(0,0,0,0.12);

  background: linear-gradient(135deg, #22c55e, #16a34a);
}
.portafolio-image {
  position: relative;
  width: 550px;
  height: 320px;
  margin: auto;
  transform: translateY(-18px);
  overflow: hidden;
  border-radius: 30px;
  box-shadow:
    0 28px 55px rgba(0,0,0,0.24),
    0 0 42px rgba(120,120,120,0.24);

  background: white;
}

/* sombra externa */
.portafolio-image::before {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 50% / 35%;
  background: rgba(140,140,140,0.28);
  filter: blur(32px);
  z-index: 0;
}

.portafolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.portafolio-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* controla TODO el espacio entre elementos */
  transform: translateY(-30px);
}

.trust {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
}

.trust h2 {
  font-size: 28px;
  color: #111827;
  margin-bottom: 10px;
}

.trust p {
  color: #64748b;
  margin-bottom: 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: auto;
}

.trust-item {
  background: #0b1220;
  padding: 20px;
  border-radius: 12px;
}

.trust-item h3 {
  color: #30be62;
  font-size: 20px;
  margin-bottom: 5px;
}

.trust-item p {
  color: #cbd5f5;
  font-size: 14px;
}
/* ================= SECCIÓN CÓDIGO PREMIUM ================= */

.code-section {
   padding: 40px 20px 80px; 
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.code-container {
  max-width: 1250px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 70px;
  align-items: center;
}

/* ================= IZQUIERDA ================= */

.code-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.mini-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 18px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 18px 35px rgba(0,0,0,0.05),
    0 8px 18px rgba(0,0,0,0.03);

  transition: all 0.28s ease;
}

.mini-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 25px 45px rgba(0,0,0,0.08),
    0 12px 25px rgba(0,0,0,0.05);
}

.mini-card span {
  font-size: 34px;
  display: block;
  margin-bottom: 12px;
}

.mini-card p {
  color: #111827;
  font-weight: 700;
  font-size: 15px;
}

/* ================= DERECHA ================= */

.code-content h2 {
  font-size: 42px;
  line-height: 1.15;
  color: #111827;
  margin-bottom: 18px;
}

.code-content p {
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 95%;
}

.code-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}

.code-content ul li {
  color: #111827;
  font-size: 15px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #edf2f7;
}

/* ================= STACK MINI ================= */

.stack-mini {
  margin-top: 12px;
  padding: 18px 20px;
  background: #0b1220;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.14);
}

.stack-mini span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.stack-mini small {
  display: block;
  font-size: 13px;
  line-height: 1.8;
  color: #cbd5e1;
}

.stack-mini strong {
  color: #30be62;
  font-weight: 700;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .code-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .code-content {
    text-align: center;
  }

  .code-content p {
    max-width: 100%;
  }

  .code-content ul {
    grid-template-columns: 1fr;
  }

}
/* ================= SOLUCIONES DIGITALES ================= */

.tech-section {
  padding: 90px 20px;
  background: #ffffff;
}

.tech-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

/* TEXTO */
.tech-content h2 {
  font-size: 40px;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.2;
}

.tech-content p {
  font-size: 17px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
}

.tech-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.tech-content ul li {
  margin-bottom: 12px;
  font-size: 15px;
  color: #111827;
}

/* GRID DERECHA */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.tech-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-6px);
}

.tech-card h3 {
  font-size: 22px;
  color: #111827;
  margin-bottom: 10px;
}

.tech-card p {
  color: #64748b;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .tech-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-content {
    text-align: center;
  }

}
.tech-content .btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 54px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 10px;
}
/* ================= SCROLL DOWN ================= */

.scroll-down {
  margin-top: -38px;
  text-align: center;
  cursor: pointer;
  animation: floatArrow 2s ease-in-out infinite;
  text-decoration: none;
}

.scroll-down span {
  display: block;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.scroll-down .arrow {
  font-size: 26px;
  color: #30be62;
  font-weight: bold;
}

/* animación */
@keyframes floatArrow {
  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ================= PORTAFOLIO RESPONSIVE PRO ================= */

/* ================= TABLET (hasta 1024px) ================= */
@media (max-width: 1024px) {

  /* HERO */
  .hero-portafolio {
    padding: 60px 20px 30px;
    min-height: auto;
  }

  .portafolio-container {
    transform: none;
    gap: 20px;
    align-items: center;
  }

@media (max-width: 768px) {

  .hero-portafolio h1 {
    font-size: 24px;
    white-space: normal;
  }

}

  .hero-portafolio p {
    font-size: 16px;
    text-align: center;
    max-width: 700px;
  }

  .portafolio-image {
    width: 320px;
    height: 200px;
    margin: auto;
  }

  /* CODE */
  .code-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .code-content {
    text-align: center;
  }

  /* TECH */
  .tech-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-content {
    text-align: center;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ================= MOBILE (hasta 768px) ================= */
@media (max-width: 768px) {

  /* HERO */
  .hero-portafolio {
    padding: 120px 20px 20px;
    min-height: auto;
  }

  .portafolio-container {
    transform: none;
    gap: 15px;
    align-items: center;
  }

  .hero-portafolio h1 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero-portafolio p {
    font-size: 14px;
    line-height: 1.5;
  }

  .portafolio-container .btn-primary {
    width: 100%;
    max-width: 280px;
    height: 48px;
  }

  /* IMAGEN */
  .portafolio-image {
    width: 100%;
    max-width: 260px;
    height: auto;
    aspect-ratio: 16/10;
    margin: 10px auto;
  }

  /* SCROLL */
  .scroll-down {
    margin-top: 10px;
  }

  /* CODE */
  .code-section {
    padding: 60px 20px;
  }

  .code-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .code-boxes {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .mini-card {
    padding: 18px;
  }

  .code-content {
    text-align: center;
  }

  .code-content h2 {
    font-size: 24px;
  }

  .code-content p {
    font-size: 14px;
  }

  .code-content ul {
    grid-template-columns: 1fr;
  }

  /* TECH */
  .tech-section {
    padding: 60px 20px;
  }

  .tech-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .tech-content {
    text-align: center;
  }

  .tech-content h2 {
    font-size: 24px;
  }

  .tech-content p {
    font-size: 14px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

}

.hidden {
  display: none;
}

.plan-toggle {
  list-style: none;
  color: #30be62;
  font-weight: 600;
  cursor: pointer;
}

.plan-toggle:hover {
  text-decoration: underline;
}

/* ================= PORTFOLIO ================= */

.portfolio-section {
  padding: 80px 20px;
  text-align: center;
  background: #ffffff;
}

.portfolio-section h2 {
  font-size: 32px;
  color: #111827;
  margin-bottom: 10px;
}

.portfolio-subtitle {
  color: #64748b;
  margin-bottom: 40px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 🔥 más grandes */
  gap: 25px;
  max-width: 1300px; /* 🔥 más ancho */
  margin: auto;
}

/* CARD */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

/* IMAGEN */
.portfolio-card img {
  width: 100%;
  height: 220px; /* 🔥 altura fija */
  object-fit: cover; /* 🔥 evita deformación */
  display: block;
  transition: transform 0.4s ease;
  animation: float 4s ease-in-out infinite;
}
/* Solo para el proyecto TES */

/* HOVER */
.portfolio-card:hover img {
  transform: scale(1.08);
}

/* OVERLAY */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transition: 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* BOTÓN */
.portfolio-overlay a {
  background: #30be62;
  padding: 10px 18px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 60px 20px;
  }
}

.portfolio-overlay button {
  background: #30be62;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-container {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.video-container iframe {
  width: 100%;
  height: 500px;
  border-radius: 10px;
}

.close-modal {
  position: absolute;
  top: -35px;
  right: 0;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ================= SISTEMAS POS PREMIUM ================= */

.systems-section {
  padding: 90px 20px;
  background: linear-gradient(180deg, #081018 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

/* ================= HEADER ================= */

.systems-header {
  max-width: 850px;
  margin: auto;
  text-align: center;
  margin-bottom: 70px;
}

.systems-badge {
  display: inline-block;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 18px;
  border-radius: 40px;
  color: #38bdf8;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.systems-header h2 {
  font-size: 44px;
  line-height: 1.1;
  color: white;
  margin-bottom: 20px;
}

.systems-header h2 span {
  color: #22c55e;
}

.systems-header p {
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.7;
  max-width: 700px;
  margin: auto;
}
#planes-comandas {
  scroll-margin-top: 120px;
}

/* ================= GRID ================= */

.systems-grid {
  max-width: 1300px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;

  margin-bottom: 80px;
}

/* ================= CARD ================= */

.system-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 30px 24px;
  backdrop-filter: blur(12px);
  transition: 0.35s ease;
  box-shadow:
    0 20px 45px rgba(0,0,0,0.35);
}

.system-card:hover {
  transform: translateY(-10px);
}

.system-icon {
  width: 65px;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  font-size: 28px;
  margin-bottom: 20px;
}

.system-card h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 12px;
}

.system-card p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}

/* ================= COLORES ================= */

.kitchen-card {
  border-top: 4px solid #ff7a00;
}

.kitchen-card .system-icon {
  background: rgba(255,122,0,0.15);
}

.orders-card {
  border-top: 4px solid #ff4d4d;
}

.orders-card .system-icon {
  background: rgba(255,77,77,0.15);
}

.sales-card {
  border-top: 4px solid #22c55e;
}

.sales-card .system-icon {
  background: rgba(34,197,94,0.15);
}

.products-card {
  border-top: 4px solid #38bdf8;
}

.products-card .system-icon {
  background: rgba(56,189,248,0.15);
}

/* ================= PREVIEW ================= */

.systems-preview {
  max-width: 1100px;
  margin: auto;
  margin-bottom: 90px;
}

.systems-preview img {
  width: 100%;
  border-radius: 24px;
  box-shadow:
    0 40px 90px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ================= PLANES ================= */

.systems-plans {
  max-width: 920px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* ================= PLAN ================= */

.system-plan {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.35);
}

.system-plan h3 {
  color: white;
  font-size: 30px;
  margin-bottom: 15px;
}

.system-price {
  font-size: 52px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.system-price span {
  font-size: 18px;
  color: #94a3b8;
}

.system-tag {
  color: #94a3b8;
  margin-bottom: 18px;
  line-height: 1.6;
}

.system-plan ul {
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
}

.system-plan ul li {
  margin-bottom: 10px;
  color: #e2e8f0;
  line-height: 1.5;
}

/* ================= BOTÓN ================= */

.system-plan .btn-primary {
  width: 100%;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
}

/* ================= STARTER ================= */

.starter-plan {
  border-top: 4px solid #38bdf8;
}

/* ================= PRO ================= */

.pro-plan {
  border-top: 4px solid #22c55e;

  transform: scale(1.03);

  box-shadow:
    0 25px 60px rgba(34,197,94,0.18);
}

/* ================= BADGE ================= */

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #22c55e;
  color: #081018;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}

/* ================= RESPONSIVE TABLET ================= */

@media (max-width: 1024px) {

  .systems-header h2 {
    font-size: 42px;
  }

  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .systems-plans {
    grid-template-columns: 1fr;
  }

  .pro-plan {
    transform: none;
  }

}

/* ================= RESPONSIVE MOBILE ================= */

@media (max-width: 768px) {

  .systems-section {
    padding: 70px 20px;
  }

  .systems-header {
    margin-bottom: 50px;
  }

  .systems-header h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .systems-header p {
    font-size: 15px;
  }

  .systems-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .system-card {
    padding: 25px 20px;
  }

  .systems-preview {
    margin-bottom: 60px;
  }

  .systems-plans {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .system-plan {
    padding: 28px 22px;
  }

  .system-plan h3 {
    font-size: 26px;
  }

  .system-price {
    font-size: 42px;
  }

  .popular-badge {
    position: relative;
    top: auto;
    right: auto;

    display: inline-block;
    margin-bottom: 20px;
  }

}
/* ================= BOTONES SISTEMAS ================= */

.systems-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
  flex-wrap: wrap;
}

/* ================= BOTÓN PRINCIPAL ================= */

.btn-systems-primary {
  height: 56px;
  padding: 0 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 12px 35px rgba(34,197,94,0.35);
  transition: 0.3s ease;
}

.btn-systems-primary:hover {
  transform: translateY(-4px);

  box-shadow:
    0 18px 45px rgba(34,197,94,0.45);
}

/* ================= BOTÓN SECUNDARIO ================= */

.btn-systems-secondary {
  height: 56px;
  padding: 0 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-systems-secondary:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

  .systems-actions {
    flex-direction: column;
    gap: 14px;
  }

  .btn-systems-primary,
  .btn-systems-secondary {
    width: 100%;
    max-width: 320px;
  }

}
/* ================= FOOTER LUXURY ================= */

.footer {
  position: relative;

  background:
    radial-gradient(circle at top left, rgba(34,197,94,0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(56,189,248,0.08), transparent 30%),
    linear-gradient(180deg, #081018 0%, #050b14 100%);
  color: #cbd5f5;
  padding: 90px 20px 25px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ================= CONTENEDOR ================= */

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* ================= MARCA ================= */

.footer-brand h2 {
  color: #ffffff;
  margin-bottom: 16px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.8;
  max-width: 340px;
}

/* ================= TITULOS ================= */

.footer-links h4,
.footer-contact h4 {
  color: #ffffff;
  margin-bottom: 22px;
  font-size: 18px;
  font-weight: 700;
  position: relative;
}

/* línea elegante */

.footer-links h4::after,
.footer-contact h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 45px;
  height: 3px;
  border-radius: 20px;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
}

/* ================= LINKS ================= */

.footer-links a {
  display: block;
  text-decoration: none;
  color: #94a3b8;
  margin-bottom: 12px;
  font-size: 15px;
  transition: all 0.35s ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(6px);
  text-shadow:
    0 0 12px rgba(34,197,94,0.35);
}

/* ================= CONTACTO ================= */

.footer-contact p,
.footer-contact a {
  font-size: 15px;
  margin-bottom: 12px;
  color: #94a3b8;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-contact a:hover {
  color: #22c55e;
}

/* ================= SOCIAL ================= */

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.footer-socials a {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  text-decoration: none;
  backdrop-filter: blur(10px);

  transition: all 0.35s ease;
}

.footer-socials a:hover {
  transform: translateY(-6px);

  background: rgba(34,197,94,0.15);

  border-color: rgba(34,197,94,0.45);

  box-shadow:
    0 12px 30px rgba(34,197,94,0.18);
}

/* ================= BOTTOM ================= */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);

  margin-top: 60px;

  padding-top: 22px;

  text-align: center;

  position: relative;
  z-index: 2;
}

.footer-bottom p {
  font-size: 14px;

  color: #64748b;

  letter-spacing: 0.5px;
}
.footer-brand img{
    width: 140px;
    height: auto;
    margin-bottom: 10px;
}
/* ================= TELEFONO / CORREO ================= */

.telefono,
.correo {
  color: inherit;

  text-decoration: none;

  transition: 0.3s ease;
}

.telefono:hover,
.correo:hover {
  color: #22c55e;
}

/* ================= TABLET ================= */

@media (max-width: 1024px) {

  .footer {
    padding-top: 70px;
  }

  .footer-container {
    gap: 40px;
  }

}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .footer {
    padding: 70px 20px 25px;
  }

  .footer-container {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .footer-brand h2 {
    font-size: 28px;
  }

  .footer-links h4,
  .footer-contact h4 {
    margin-bottom: 20px;
  }

  .footer-bottom {
    margin-top: 45px;
  }

}
/* 📱 FIX BOTÓN VOLVER EN CELULAR */
@media (max-width: 768px) {

  .btn-volver,
  .volver-extras {

    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    width: fit-content;

  }

}

/* COPYRIGHT */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: #777;
}
.footer-box p a{
    color:#aaa;
    text-decoration:none;
    transition:.3s;
}

.footer-box p a:hover{
    color:#005187;
}
.footer-bottom a{
    color:#777;
    text-decoration:none;
    transition:.3s;
}

.footer-bottom a:hover{
    color:#005187;
}
.footer-bottom{
display:flex;
justify-content:center;
align-items:center;
gap:15px;
text-align:center;
padding:20px;
}


.footer-logo{
width:45px;
height:auto;
object-fit:contain;

}

.footer-bottom p{
margin:0;

}


.footer-bottom a{

color:#005187;
text-decoration:none;
font-weight:600;

}