/* ------------------------------------------------------------- */
/* RESET BASICO                                                  */
/* ------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Inter', sans-serif;
  background: #111;
  color: #e6e6e6;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ------------------------------------------------------------- */
/* LAYOUT GENERAL                                                 */
/* ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1250px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

h1, h2, h3, h4 {
  color: #fff;
  margin: 0px 0 10px;
}
p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: #ccc;
}




.muted {
  color: #aaa;
}

/* ------------------------------------------------------------- */
/* HEADER                                                         */
/* ------------------------------------------------------------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
    white-space: nowrap;   /* ← NO ME LO ROMPES MÁS */
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 700;
}

.logo img {
  height: 48px;
  width: auto;
}

/* ------------------------------------------------------------- */
/* BOTONES                                                        */
/* ------------------------------------------------------------- */
.btn {
  background: #3D7BCF;
  padding: 10px 22px;
  color: #fff;
  border-radius: 6px;
  transition: 0.25s ease;
  font-weight: 600;
}

.btn:hover {
  background: #5390e0;
}

.btn-ghost {
  padding: 10px 22px;
  border: 2px solid #3D7BCF;
  border-radius: 6px;
  color: #3D7BCF;
  transition: 0.25s ease;
  font-weight: 600;
}

.btn-ghost:hover {
  background: #3D7BCF;
  color: #fff;
}

/* ------------------------------------------------------------- */
/* HERO FULL (BANNER CORPORATIVO)                                */
/* ------------------------------------------------------------- */

/* ===== MARCA DE AGUA GLOBAL ===== */
body {
  position: relative; /* Necesario para crear una capa detrás */
}

body::before {
  content: "";
  position: fixed;   /* Se queda quieto aunque hagas scroll */
  inset: 0;          /* Ocupa toda la pantalla */
  background-image: url("assets/ener_logo_shadow.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 40%;   /* Ajustá: 20% / 30% / 50% */
  opacity: 0.16;          /* Cuán suave se ve la marca */
  pointer-events: none;   /* Evita que bloquee clics */
  z-index: -1;            /* Lo manda detrás del contenido */
}

/* === FIX HERO FULL FORZADO === */
.hero-fix {
  width: 100%;
  height: 150px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;              /* centra el contenedor */
  display: flex;               /* centra el contenido */
  justify-content: center;
  align-items: center;
  background: #000 !important;
}

.hero-fix img {
  width: 50%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #000; /* opcional, para rellenar las bandas */
  filter: brightness(0.55) !important;
  mix-blend-mode: lighten;
  
}
.hero-fix::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.5),
    transparent 12%,
    transparent 88%,
    rgba(0,0,0,0.5)
  );
}
/* ------------------------------------------------------------- */
/* HERO SCAN PARA HERO-FIX                                       */
/* ------------------------------------------------------------- */
.hero-fix .hero-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      transparent,
      rgba(0,255,180,0.12),
      transparent
  );
  animation: heroScanMove 4.5s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;   /* ← se mezcla sin tapar la imagen */
}

@keyframes heroScanMove {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ------------------------------------------------------------- */
/* TECNOLOGÍAS CON LOGOS                                         */
/* ------------------------------------------------------------- */
.tech-section {
  padding: 70px 0;
  text-align: center;
}

.tech-section h2 {
  font-size: 2rem;
  margin-bottom: 25px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

.tech-item {
  padding: 18px;
  background: #181818;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  text-align: center;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tech-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0.9);
}

.tech-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #9ec3e6;
}

.tech-item:hover {
  background: #242424;
  transform: translateY(-4px);
}

/* ------------------------------------------------------------- */
/* WHATSAPP FLOTANTE                                             */
/* ------------------------------------------------------------- */


.whatsapp-float:hover img {
  transform: scale(1.12);
}

.whatsapp-float:hover {
  background-color: transparent;
  color: #25D366;
  border: 2px solid #25D366;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ------------------------------------------------------------- */
/* GOOGLE MAPS                                              */
/* ------------------------------------------------------------- */

.map-container {
  width: 100%;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 18px #0006;
}

/* ------------------------------------------------------------- */
/* TICKER INDUSTRIAL                                              */
/* ------------------------------------------------------------- */
.ticker {
  width: 100%;
  overflow: hidden;
  background: #0b0b0b;
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
}

.ticker__content {
  display: inline-block;
  white-space: nowrap;
  padding: 12px 0;
  color: #c5c5c5;
  font-size: 22px;
  font-weight: 600;
  animation: tickerMove 16s linear infinite;
}

@keyframes tickerMove {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ------------------------------------------------------------- */
/* HERO SECUNDARIO                                                */
/* ------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 70px 0;
}

.lead {
  margin-top: 10px;
  color: #b8b8b8;
  font-size: 1.1rem;
}

.pill-list {
  margin: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 20px;
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  font-size: 0.85rem;
  color: #9ec3e6;
}

.cta-row {
  margin: 25px 0;
  display: flex;
  gap: 15px;
}

.kpis {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.kpi strong {
  display: block;
  font-size: 1.6rem;
  color: #83b7e5;
}

/* ------------------------------------------------------------- */
/* CARD BASE                                                      */
/* ------------------------------------------------------------- */
.card {
  background: #191919;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #262626;
  box-shadow: 0 0 14px #0004;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(61, 123, 207, 0.25);
  transition: 0.25s ease;
}

/* ------------------------------------------------------------- */
/* MINI CARDS                                                     */
/* ------------------------------------------------------------- */
.stack {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 14px;
  background: #202020;
  border-radius: 6px;
  border: 1px solid #2a2a2a;
}

/* ------------------------------------------------------------- */
/* GRID GENERAL                                                   */
/* ------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* ------------------------------------------------------------- */
/* BLOQUE IMPACTO                                                 */
/* ------------------------------------------------------------- */
.block-impacto {
  background: #1a1a1a;
  padding: 40px;
  border-left: 4px solid #3D7BCF;
}

.impact-title {
  font-size: 2rem;
  font-weight: 700;
}

.impact-text {
  margin: 20px 0;
  color: #ccc;
}

.impact-list {
  margin: 24px 0;
  list-style: none;
  color: #ddd;
}

.impact-list li {
  margin-bottom: 6px;
}

.impact-final {
  margin: 20px 0;
  font-size: 1.1rem;
}

.impact-btn {
  margin-top: 12px;
}

/* ------------------------------------------------------------- */
/* MARCAS - TARJETAS UNIFORMES                                   */
/* ------------------------------------------------------------- */
.marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 32px;
}

.marca-card {
  background: #181818;
  padding: 28px 24px;
  border-radius: 12px;
  border: 1px solid #222;
  box-shadow: 0 0 20px #0006;
  text-align: center;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 330px;
}

.marca-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px #000c;
}

.marca-logo {
  width: 70%;
  max-height: 120px;
  object-fit: contain;
  margin: 0 auto 15px auto;
}

/* ------------------------------------------------------------- */
/* ABOUT / NOSOTROS                                              */
/* ------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 25px;
}

.team-img {
  border-radius: 12px;
  object-fit: cover;
}

/* ------------------------------------------------------------- */
/* CONTACTO                                                       */
/* ------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  color: #eee;
  margin-bottom: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #3D7BCF;
}

.whatsapp {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #4fc3f7;
}

/* ------------------------------------------------------------- */
/* FOOTER                                                         */
/* ------------------------------------------------------------- */
footer {
  padding: 40px 0;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #222;
}

/* ------------------------------------------------------------- */
/* SCROLL FADE                                                    */
/* ------------------------------------------------------------- */
.scroll-fade {
  opacity: 0;
  transform: translateY(25px);
  filter: blur(2px);
  transition: opacity .6s ease-out, transform .6s ease-out, filter .6s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* ------------------------------------------------------------- */
/* SWIPER                                                         */
/* ------------------------------------------------------------- */
.swiper-slide img {
  width: 100%;
  height: 260px;
  object-fit:contain;
  border-radius: 10px;
  filter: brightness(0.9);
  transition: 0.3s;
}

.swiper-slide img:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.swiper-button-next,
.swiper-button-prev {
  color: #3D7BCF !important;
}

.swiper-pagination-bullet-active {
  background: #3D7BCF !important;
}
/* Contenedor del slide para que todas queden iguales */
.swiper-slide {
  background: #111;           /* marco oscuro elegante */
  border: 1px solid #222;     /* borde fino */
  border-radius: 12px;
  overflow: hidden;
  height: 260px;              /* define el tamaño del “marco” */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;               /* espacio entre marco e imagen */
}

/* Imagen */
.swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;        /* no recorta NADA */
  object-position: center;
  transition: 0.3s;
  filter: grayscale(20%) brightness(0.9);
}

/* Hover lindo pero moderado */
.swiper-slide:hover img {
  filter: grayscale(0%) brightness(1.05);
  transform: scale(1.03);
}
/* ------------------------------------------------------------- */
/* RESPONSIVE                                                     */
/* ------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-full {
    height: 32vh;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .nav-links a {
    margin-left: 12px;
  }

  .swiper-slide img {
    height: 200px;
  }
}

/* ============================================
   SOCIAL LINKS
   ============================================ */  
.social-links {
  margin-top: 20px;
  padding: 18px 0 18px;
}

/* ============================================
   NAV INDUSTRIAL PRO — Enersal Edition
   ============================================ */
.nav-industrial {
  display: flex;
  gap: 26px;
  justify-content: flex-end;
  align-items: center;
  padding: 14px 0 ;
  background: #0d0f14;
  border-bottom: 1px solid rgba(100,150,200,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.nav-industrial a {
  font-weight: 600;
  letter-spacing: 0.6px;
  font-size: 0.95rem;
  padding: 16px 24px;
  position: relative;
  color: #cfd6dd;
  transition: color .2s ease, opacity .2s ease;
  white-space: nowrap;   /* ← NO ME LO ROMPES MÁS */
}

/* LÍNEA LED INDUSTRIAL INFERIOR */
.nav-industrial a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;

  background: linear-gradient(90deg,
    transparent,
    #3D7BCF,
    #00d0ff,
    transparent
  );

  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease-out;
  opacity: .6;
}

.nav-industrial a:hover {
  color: #e8f5ff;
}

.nav-industrial a:hover::after {
  transform: scaleX(1);
}

/* BOTÓN INDUSTRIAL */
.btn-industrial {
  background: #3D7BCF;
  padding: 10px 18px !important;
  border-radius: 6px;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(61,123,207,0.4);
  transition: 0.25s ease-in-out;
}

.btn-industrial:hover {
  background: #5390e0;
  box-shadow: 0 0 18px rgba(120,170,255,0.55);
}

/* BOTÓN INDUSTRIAL VERDE */
.btn-industrial-verde {
  background: #5b9c47;
  padding: 10px 18px !important;
  border-radius: 6px;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(61,123,207,0.4);
  transition: 0.25s ease-in-out;
}

.btn-industrial-verde:hover {
  background: #66b150;
  box-shadow: 0 0 18px rgba(120,170,255,0.55);
}


/* RESPONSIVE — mantiene orden perfecto */
@media (max-width: 980px) {
  .nav-industrial {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
}

/* ------------------------------------------------------------- */
/* MOBILE FIXES — ENERSAL MOBILE PRO V1                         */
/* ------------------------------------------------------------- */
@media (max-width: 768px) {

  /* HEADER */
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links a {
    font-size: 0.95rem;
    margin-left: 0;
    padding: 6px 10px;
    background: #1a1a1a;
    border-radius: 6px;
  }

  /* HERO */
  .hero-fix {
    height: 28vh !important;   /* mejor proporción para móvil */
  }

  .hero-fix img {
    object-fit: cover;
    object-position: center;
  }

  /* SECCIONES */
  .section {
    padding: 50px 0;
  }

  /* GRIDS */
  .grid,
  .marcas-grid,
  .about,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  /* TEXTOS */
  h1, h2, h3, h4 {
    line-height: 1.25em;
    margin-bottom: 12px;
  }

  p {
    font-size: 1rem;
    line-height: 1.45em;
  }

  /* BOTONES */
  .btn,
  .btn-ghost,
  .btn-industrial {
    width: 100%;
    text-align: center;
  }

  /* TICKEr */
  .ticker__content {
    font-size: 16px;
  }

  /* FOOTER */
  footer {
    text-align: center;
    padding: 25px 0;
  }

}

@media (max-width: 768px) {

  .nav-industrial {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .nav-industrial a {
    padding: 8px 14px;
    background: #1a1a1a;
    border-radius: 6px;
    font-size: 0.9rem;
  }

  .nav-industrial .btn-industrial {
    width: 100%;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {

  .hero-fix {
    height: 22vh !important;
    background: #000;
  }

  .hero-fix img {
    object-fit: contain !important;
    padding: 6px;
  }
}
@media (max-width: 768px) {

  .hero {
    grid-template-columns: 1fr !important;
  }

  .hero-right {
    margin-top: 25px;
  }
}
@media (max-width: 768px) {

  .about,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .team-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
@media (max-width: 768px) {
  .btn-industrial {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 640px) {

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
  h4 { font-size: 1rem; }

  .section {
    padding: 45px 0;
  }

}
@media (max-width: 640px) {
  .container {
    padding: 0 14px;
  }
}
@media (max-width: 640px) {

  .card {
    padding: 18px;
  }

  .mini-card {
    padding: 12px;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn,
  .cta-row .btn-ghost {
    width: 100%;
  }

}
@media (max-width: 640px) {

  .hero-fix {
    height: 24vh !important;
  }

  .hero-fix img {
    object-fit: contain;
    padding: 4px 0;
    max-height: 100%;
  }

}


/* ------------------------------------------------------------- */
/* SKIN SCADA – SIEMENS TIA PORTAL STYLE                         */
/* ------------------------------------------------------------- */

/* -------- PALETA PRINCIPAL -------- */
:root {
  --bg: #111315;
  --bg-panel: #181b1d;
  --card: #1c1f22;
  --card-soft: #24272a;
  --border: #303336;
  --border-soft: rgba(255,255,255,0.05);

  /* Acentos Siemens */
  --accent: #00e0b8;
  --accent-glow: rgba(0,224,184,0.35);

  /* Texto */
  --text: #d8e3e8;
  --text-soft: #9aa6ad;
  --text-muted: #6e7a80;

  /* Sombras */
  --shadow-strong: 0 6px 20px rgba(0,0,0,0.55);
  --shadow-soft: inset 0 0 0 1px rgba(255,255,255,0.03);
}

/* ------------------------------------------------------------- */
/* PANEL GENERAL                                                  */
/* ------------------------------------------------------------- */
#power-panel {
  background: var(--bg);
  color: var(--text);
  padding: 10px 0;
}

#power-panel h2 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.5px;
}

#power-panel .muted {
  color: var(--text-muted);
}

/* ------------------------------------------------------------- */
/* TABS – SIEMENS LOOK                                           */
/* ------------------------------------------------------------- */
#power-panel .pp-tabs {
  margin-top: 4px;
}

#power-panel .pp-tab {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-soft);
  font-size: 14px;
  transition: 0.15s;
  box-shadow: var(--shadow-soft);
}

#power-panel .pp-tab:hover {
  background: var(--card-soft);
  border-color: var(--accent);
  color: var(--text);
}

#power-panel .pp-tab.active {
  background: var(--accent);
  color: #00261e;
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  font-weight: bold;
}

/* ------------------------------------------------------------- */
/* CARDS                                                         */
/* ------------------------------------------------------------- */
#power-panel .card,
#power-pro .card {
  background: var(--card);
  padding: 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), var(--shadow-strong);
  transition: 0.2s;
}

#power-panel .card:hover,
#power-pro .card:hover {
  background: var(--card-soft);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow), var(--shadow-strong);
}

/* ------------------------------------------------------------- */
/* TITULOS                                                       */
/* ------------------------------------------------------------- */
#power-panel h3,
#power-pro h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}

/* ------------------------------------------------------------- */
/* INPUTS                                                        */
/* ------------------------------------------------------------- */
#power-panel input[type="number"],
#power-panel select,
#power-pro input[type="number"],
#power-pro select {
  width: 100%;
  background: #0f1113;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px;
  color: var(--text);
  margin-top: 4px;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: 0.15s;
}

#power-panel input[type="number"]:focus,
#power-pro input[type="number"]:focus,
#power-panel select:focus,
#power-pro select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ------------------------------------------------------------- */
/* RANGE                                                         */
/* ------------------------------------------------------------- */
#power-panel input[type="range"],
#power-pro input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

/* ------------------------------------------------------------- */
/* BOTONES – UNIFICADOS SIEMENS                                  */
/* ------------------------------------------------------------- */
#power-panel .btn,
#power-pro .btn {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #00261e;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: 0.15s;
  width: 100%;
}

#power-panel .btn:hover,
#power-pro .btn:hover {
  filter: brightness(1.15);
}

#power-panel .btn-ghost,
#power-pro .btn-ghost {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-soft);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  transition: 0.15s;
}

#power-panel .btn-ghost:hover,
#power-pro .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

/* ------------------------------------------------------------- */
/* CANVAS & SVG                                                  */
/* ------------------------------------------------------------- */
#power-panel canvas,
#power-pro canvas,
#power-panel svg,
#power-pro svg {
  background: #0d0f11;
  border-radius: 6px;
  border: 1px solid var(--border);
  padding: 4px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ------------------------------------------------------------- */
/* GRID                                                          */
/* ------------------------------------------------------------- */
#power-panel .grid,
#power-pro .grid {
  display: grid;
  gap: 18px;
}

@media (max-width: 900px) {
  #power-panel .grid,
  #power-pro .grid {
    gap: 12px;
  }
}

/* ------------------------------------------------------------- */
/* ESPECIALES PANEL PRO                                          */
/* ------------------------------------------------------------- */
#power-pro .pp-tabs button {
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-soft);
  padding: 8px 12px;
  border-radius: 6px;
  transition: 0.15s;
}

#power-pro .pp-tabs button.active {
  background: var(--accent);
  color: #072027;
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

#power-pro label {
  display: block;
  font-size: 13px;
  margin: 6px 0;
  color: var(--text-muted);
}


/* ==========================
   SECCIÓN DESCARGAS
========================== */
.downloads {
  margin-top: 0px;
  padding: 0px 0 0;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  padding: 18px;
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: transform .25s ease, box-shadow .25s ease;
}

.download-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}

.download-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  font-size: 32px;
  color: var(--accent);
}

.download-info h4 {
  margin: 0;
  font-size: 18px;
}

.download-info p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.download-btn {
  margin-left: auto;
  padding: 10px 16px;
  background: var(--accent);
  color: #072027;
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.download-btn:hover {
  opacity: .85;
}

/* ===== OPTIMIZACIÓN INDUSTRIAL PREMIUM ===== */

.optimiza {
  text-align: center;
  margin-top: 60px;
}

.optimiza .intro {
  max-width: 750px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.opti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 35px;
}

.opti-item {
  background: #1c1f22;
  padding: 26px;
  border-radius: 14px;
  border: 1px solid #2a2e31;
  transition: 0.25s ease;
}

.opti-item:hover {
  transform: translateY(-4px);
  border-color: #3D7BCF;
}

.opti-item svg {
  margin-bottom: 16px;
}

.opti-item h3 {
  margin-bottom: 10px;
  color: #3D7BCF;
}

.opti-cta {
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .opti-grid {
    grid-template-columns: 1fr;
  }
}

/* === LIGHTBOX CUTFIRE === */
#cf-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  z-index: 9999;
}

#cf-lightbox.visible {
  opacity: 1;
  pointer-events: auto;
}

#cf-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  transform: scale(.8);
  transition: transform .35s ease;
}

#cf-lightbox.visible img {
  transform: scale(1);
}


.whatsapp-float {
  background: var(--accent);
  color: #04101d;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(0,255,180,0.45);
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0% { box-shadow: 0 0 12px rgba(0,255,180,0.4); }
  50% { box-shadow: 0 0 25px rgba(0,255,180,0.65); }
  100% { box-shadow: 0 0 12px rgba(0,255,180,0.4); }
}