html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}


/* =====================
   VARIABLES
===================== */


:root{
  --primary:#1f5fbf;      /* azul LP */
  --secondary:#2fbf71;    /* verde LP */
  --dark:#121212;         /* negro */
  --bg:#f5f6f8;
  --muted:#6f7785;

  --dark:#1f1f1f;
  --light:#ffffff;
  --muted:#777;
  --bg:#f5f5f5;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.12);
}


/* RESET */
*{box-sizing:border-box;margin:0;padding:0;}

body{
  font-family:Poppins, sans-serif;
  background:var(--bg);
  color:#222;
}

/* TOP BAR1 */
.top-bar{
  position:sticky;
  top:0;
  background:var(--primary);
  color:#fff;
  padding:10px;
  font-size:.75rem;
  text-align:center;
  z-index:10;
}

/* HERO */
/* =====================
   HERO - DEGRADADO NEGRO
===================== */

/* =====================
   HERO CON DEGRADADO + TRIÁNGULOS
===================== */



.hero-card{
  position:relative;
  background:linear-gradient(
    180deg,
    var(--primary) 0%,
    #174a96 35%,        /* azul más oscuro */
    var(--bg) 75%
  );
  padding:42px 16px 48px;
  text-align:center;
  overflow:hidden;

  /* variables animables */
  --pattern-opacity: .35;
  --pattern-shift: 0px;
}




/* PATRÓN TRIÁNGULOS */
.hero-card::before{
  content:"";
  left:-2px;
  right:-2px;
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.12) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,.12) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,.12) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(255,255,255,.12) 25%, transparent 25%);
  background-size:48px 48px;

  /* 👇 aquí está la magia */
  background-position:
    var(--pattern-shift) var(--pattern-shift);

  opacity:var(--pattern-opacity);
  transition:opacity .15s linear;
}


/* CONTENIDO ENCIMA */
.hero-card > *{
  position:relative;
  z-index:2;
}



.hero-photo{
  width:150px;          /* ⬅ más grande */
  height:150px;
  margin:0 auto 16px;   /* más aire abajo */
  border-radius:50%;
  overflow:hidden;
  border:4px solid #fff;
  box-shadow:
    0 15px 35px rgba(0,0,0,.35),
    0 0 0 6px rgba(255,255,255,.25);
    transform:translateY(-4px);
}





.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-info h1{color:#fff;font-size:1.4rem;}
.hero-info h2{color:#fff;font-size:.9rem;}
.hero-info p{color:#494646;font-size:.85rem;margin-top:6px;}


@keyframes heroPhotoIn {
  from {
    opacity:0;
    transform:translateY(12px) scale(.95);
  }
  to {
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.hero-photo{
  animation:heroPhotoIn .8s ease-out forwards;
}




@media(min-width:1024px){
  .hero-photo{
    width:170px;
    height:170px;
  }
}

/**************************************/

/*******************************/
.tech-accordion{
  margin:16px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 16px 40px rgba(0,0,0,.15);
  background:#fff;
}



.tech-accordion summary{
  padding:16px;
  font-weight:600;
  cursor:pointer;
  background:#121212;
  color:#fff;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}


.tech-accordion summary::after{
  content:"Ver más";
  font-size:.75rem;
  opacity:.8;
}

.tech-accordion[open] summary::after{
  content:"Ver menos";
}


.tech-accordion summary::-webkit-details-marker{
  display:none;
}





.tech-accordion summary::-webkit-details-marker{
  display:none;
}



.tech-card{   /***** apartado interno ***/

  padding:20px;
  animation:accordion .35s ease;
}

@keyframes accordion{
  from{
    opacity:0;
    transform:translateY(-6px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}



.tech-header{
  width:100%;
  text-align:center;
  padding:24px 16px 12px;
  background:#faf9f979;
  
}

.tech-header img{
  max-width:280px;   /* 👈 aquí la hacemos más grande */
  width:100%;
  height:auto;
  object-fit:contain;
}


.tech-model{
  background:#e8e8e8;
  padding:4px 10px;
  border-radius:999px;
  font-size:.75rem;
}



.tech-list{
  list-style:none;
  display:grid;
  gap:8px;
  margin-bottom:20px;
}

.tech-list li{
  font-size:.85rem;
  padding-left:20px;
  position:relative;
}

.tech-list li::before{
  content:"✔";
  position:absolute;
  left:0;
  color:var(--secondary);
}


.btn-cotizar{
  display:block;
  text-align:center;
  padding:12px;
  background:var(--primary);
  color:#fff;
  font-weight:600;
  border-radius:12px;
  text-decoration:none;
}

.btn-cotizar:hover{
  background:var(--secondary);
}


@media (min-width:1024px){
  .tech-list{
    grid-template-columns:1fr 1fr;
  }
}




.tech-resume{
  display:block;
  font-size:.7rem;
  font-weight:400;
  opacity:.75;
  margin-top:4px;
}



/* BANNER */

.banner{
  position:relative;
  margin:16px;
  border-radius:var(--radius);
  overflow:hidden;
 
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}

.banner::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.35),
    rgba(0,0,0,.05)
  );
  pointer-events:none;
}

.banner img{
  width:100%;
  display:block;
  transform-origin:center center;
  transform:scale(1.05);
  transition:transform .8s ease, filter .6s ease;
  filter:brightness(.95);
}

/* efecto premium */
.banner:hover img{
  transform:scale(1);
  filter:brightness(1.05);
}




/************ SEGUNDO BANNER **********/
.banner-secondary img{
  transform:none;
  filter:contrast(1.05);
}

.banner-secondary::after{
  background:linear-gradient(
    to right,
    rgba(0,0,0,.25),
    rgba(0,0,0,.05)
  );
}


/******* email de ejecutivo***/
.email-link{
  color:inherit;
  text-decoration:none;
}
.email-link:hover{
  text-decoration:underline;
}



.hero-info1{
  background:var(--secondary);
  color:#fff;
  padding:6px 14px;
  border-radius:999px;
  font-size:.8rem;
  font-weight:500;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
}





/*************** qr*************/
.qr-card{
  margin:24px 16px;
  padding:22px 20px 26px;
  background:#fff;
  border-radius:20px;
  box-shadow:
    0 18px 40px rgba(0,0,0,.18);
  text-align:center;
  position:relative;
  overflow:hidden;
}

.qr-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top,
      rgba(177,18,38,.08),
      transparent 60%);
  pointer-events:none;
}


.qr-title{
  font-size:.85rem;
  color:#555;
  font-weight:500;
  margin-bottom:14px;
}


.qr-card img{
  width:140px;
  max-width:100%;
}

#qrCode{
  display:flex;
  justify-content:center;
  margin:0 auto 10px;
  padding:14px;
  background:#fff;
  border-radius:18px;

  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.06),
    0 10px 24px rgba(0,0,0,.18);
}



.qr-url{
  display:block;
  font-size:.7rem;
  color:#777;
  margin-top:6px;
}

/* WHATSAPP LIST */
.wa-list{
  margin:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.wa-card{
  background:var(--dark);
  color:#fff;
  padding:14px;
  border-radius:var(--radius);
  display:flex;
  align-items:center;
  gap:12px;
}

.wa-avatar{
  width:52px;
  height:52px;
  border-radius:50%;
}

.wa-info h3{font-size:1rem;}
.wa-info p{font-size:.8rem;color:#aaa;}

.wa-action{
  background:var(--primary);
  padding:6px 12px;
  border-radius:999px;
  font-size:.7rem;
}

/* DIAGRAMA */
.diagram{
  background:#fff;
  margin:16px;
  padding:16px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  text-align:center;
}
.diagram img{width:100%;margin:12px 0;}

/* BOTTOM BAR */
.bottom-bar{
  position:fixed;
  bottom:0;
  width:100%;
  background:#121212;
  display:flex;
  justify-content:space-around;
  padding:10px 0;
  left:0;
  right:0;
}




.bottom-bar a{
 color:#fff;
  font-size:.75rem;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* FOOTER */
.footer{
  margin:90px 0 80px;
  text-align:center;
  font-size:.75rem;
  color:var(--muted);
}



.footer a {
  color: #312f2f;
  font-weight: 500;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
     


/* =====================
   BOTÓN COMPARTIR
===================== */
.card-share{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  width:calc(100% - 32px);
  margin:16px auto;

  padding:14px;
  background:#fff;
  color:#222;
  font-weight:600;
  font-size:.9rem;

  border-radius:14px;
  box-shadow:0 12px 28px rgba(0,0,0,.18);

  text-decoration:none; /* quita subrayado */
  cursor:pointer;

  transition:all .25s ease;
}

/* hover sutil */
.card-share:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(0,0,0,.25);
}

/* efecto click */
.card-share:active{
  transform:scale(.97);
}




/* =========================
   MODO PC - BARRAS FIJAS
========================= */
@media (min-width: 1024px){

  body{
    background:#e6e6e6;
    display:flex;
    justify-content:center;
    padding:40px 0;
    padding-top:48px;   /* espacio para top-bar */
    padding-bottom:70px;/* espacio para bottom-bar */
  }

  .digital-card{
    max-width:100%;
    overflow-x:hidden;
   width:420px;
    background:var(--bg);
    border-radius:28px;
    box-shadow:0 30px 90px rgba(0,0,0,.35);
    overflow:hidden;
    position:relative;
  }

  /* TOP BAR FIJA ARRIBA */
  .top-bar{
    position:fixed;
    top:0;
    z-index:30;
  }

  /* BOTTOM BAR FIJA ABAJO */
  .bottom-bar{
    position:sticky;
    bottom:0;
    z-index:30;
  }

  /* FOOTER BIEN POSICIONADO */
  .footer{
    margin:0;
    padding:20px 10px 90px;
    text-align:center;
  }

    /* BARRA SUPERIOR */
    .top-bar{
      position:fixed;
      top:0;
      left:0;
      width:100%;
      border-radius:0;
    }
  
    /* BARRA INFERIOR */
    .bottom-bar{
      position:fixed;
      bottom:0;
      left:0;
      width:100%;
      border-radius:0;
    }
  
    /* TARJETA CENTRADA */
    .digital-card{
      margin:0 auto;
    }
  
}




/***************BOTON SISTEMA************************/
.service-card{
  background:#fff;
  padding:20px;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.service-card h3{
  font-size:1.1rem;
  margin-bottom:8px;
}

.service-card p{
  font-size:.9rem;
  color:#444;
}
.tech-target{
  margin:18px 0 8px;
}

.tech-target-title{
  font-size:.75rem;
  font-weight:600;
  color:var(--muted);
  margin-bottom:10px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.tech-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tech-tag{
  font-size:.72rem;
  padding:6px 10px;
  background: rgba(31,164,74,.12);
  color: var(--secondary);
  /*background:
  linear-gradient(135deg,
    rgba(194,28,51,.18),
    rgba(194,28,51,.08)
  );*/
border:1px solid rgba(194,28,51,.25);
 /* color:#8b0f22;*/
  border-radius:999px;
  font-weight:500;
  white-space:nowrap;
}

.tech-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  font-size:.72rem;
  font-weight:500;
  border-radius:999px;
  background:rgba(0,123,255,.08); /* azul suave LP */
  color:#0b3c6d;
  border:1px solid rgba(0,123,255,.18);
  margin:4px 4px 0 0;
  white-space:nowrap;
}



.service-list{
  margin:12px 0;
  padding-left:18px;
  font-size:.9rem;
}

.service-list li{
  margin-bottom:6px;
}

.service-rubros{
  font-size:.8rem;
  color:#666;
  margin-bottom:16px;
}




.system-header img{
  width:100%;
  max-height:220px;
  object-fit:contain;
  filter:
    saturate(0.9)
    contrast(1.05);
  opacity:.95;
}

.system-header{
  position:relative;
}

.system-header::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,.15),
    rgba(0,0,0,.05)
  );
  pointer-events:none;
}


